[PATCH] D146811: [LSR] Preserve LCSSA when rewriting instruction with PHI user

Dmitry Makogon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 27 10:30:35 PDT 2023


dmakogon added inline comments.


================
Comment at: llvm/test/Transforms/LoopStrengthReduce/depth-limit-overrun.ll:77
 ; LIMIT-NEXT:  entry:
+; LIMIT-NEXT:    [[TMP0:%.*]] = mul i32 [[C:%.*]], -3
 ; LIMIT-NEXT:    br label [[OUTER_LOOP:%.*]]
----------------
mkazantsev wrote:
> That's weird.
I guess it's ok because we get exactly the same IR as with DEFAULT checks above which are generated by running the pass through new pass manager.


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

https://reviews.llvm.org/D146811



More information about the llvm-commits mailing list