[llvm] [SCEV] Simplify SCEVExpr for PHI to SCEV for operand if operands are identical (PR #115945)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 22 02:20:49 PST 2024
================
@@ -1761,6 +1761,10 @@ class ScalarEvolution {
/// V.
const SCEV *getOperandsToCreate(Value *V, SmallVectorImpl<Value *> &Ops);
+ /// Returns SCEV for the first operand of a phi if all phi operands have
+ /// identical opcodes and operands
----------------
nikic wrote:
```suggestion
/// identical opcodes and operands.
```
https://github.com/llvm/llvm-project/pull/115945
More information about the llvm-commits
mailing list