[PATCH] D147662: [LoopPredication] Fix where we generate widened condition. PR61963

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 22:07:59 PDT 2023


mkazantsev accepted this revision.
mkazantsev added a comment.
This revision is now accepted and ready to land.

LG, thanks



================
Comment at: llvm/test/Transforms/LoopPredication/pr61963.ll:89
 deopt57:                                             ; preds = %inner_loop
   %call62 = call i32 (...) @llvm.experimental.deoptimize.i32(i32 12) [ "deopt"(i32 0, i32 1, i32 1291853205, i32 99, i32 2, i32 13, i32 0, i32 3, i32 0, i32 3, i32 0, i32 7, ptr null, i32 7, ptr null, i32 3, i32 0, i32 7, ptr null, i32 3, i32 24, i32 7, ptr null, i32 7, ptr null, i32 3, i32 1, i32 3, i32 60, i32 0, i32 8, i32 3, i32 59, i32 3, i32 poison, i32 7, ptr null) ]
   ret i32 %call62
----------------
I guess we can also just leave 1 value here (the one that was replaced with invariant) rather than keeping all of them.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147662



More information about the llvm-commits mailing list