[llvm] [LLVM][SLSR] Add a debug counter (PR #119981)
Justin Fargnoli via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 19 12:02:51 PST 2024
================
@@ -267,9 +271,10 @@ FunctionPass *llvm::createStraightLineStrengthReducePass() {
bool StraightLineStrengthReduce::isBasisFor(const Candidate &Basis,
const Candidate &C) {
- return (Basis.Ins != C.Ins && // skip the same instruction
- // They must have the same type too. Basis.Base == C.Base doesn't
- // guarantee their types are the same (PR23975).
+ return (Basis.Ins !=
+ C.Ins && // skip the same instruction
+ // They must have the same type too. Basis.Base == C.Base
+ // doesn't guarantee their types are the same (PR23975).
----------------
justinfargnoli wrote:
Please delete this diff, then you're good to go!
https://github.com/llvm/llvm-project/pull/119981
More information about the llvm-commits
mailing list