SCEVExpander's builder already uses InstSimplifyFolder. Use it to construct binary ops via CreateBinOp instead of BinaryOperator::Create. This helps to simplify away a few more instructions during SCEV expansion. PR: https://github.com/llvm/llvm-project/pull/154148
2.0 KiB
2.0 KiB