Details
Diff Detail
Event Timeline
Precommit test
| llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp | ||
|---|---|---|
| 2532 | It's not behaviorally changing, it's just avoiding repeating it 3x | |
| llvm/test/Transforms/InstCombine/fneg.ll | ||
|---|---|---|
| 840 | The optimization doesn't seem to be kicking in for these tests? | |
| llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp | ||
|---|---|---|
| 2538 | Doesn't exponent need to by odd for this? I.e -(X ^ 2) != ((-X) ^ 2). | |
| llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp | ||
|---|---|---|
| 2538 | It’s not a square, it’s X * 2^N | |
| llvm/lib/Transforms/InstCombine/InstCombineInternal.h | ||
|---|---|---|
| 395 | Function needs a comment and a better name, since it doesn't just handle fmul and fdiv now. | |
style: No branches around single expression if