[PATCH] D109044: [DebugInfo][LoopStrengthReduction] Produce shorter expressions when using scev-based salvaging

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 3 18:07:51 PDT 2021


aprantl added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:6237
+        if (Offset.getValue().getMinSignedBits() <= 64)
+          Changed |= RewriteDVIUsingOffset(DVIRec, *LSRInductionVar,
+                                           Offset.getValue().getSExtValue());
----------------
Does this mean the presence of debug info would change codegen?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109044/new/

https://reviews.llvm.org/D109044



More information about the llvm-commits mailing list