[llvm] [LLVM][SLSR] Add a debug counter (PR #119981)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 19 13:08:45 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).
----------------
GrumpyPigSkin wrote:

Sorted it sorry, happened when I used the `git clang-format HEAD~1` command

https://github.com/llvm/llvm-project/pull/119981


More information about the llvm-commits mailing list