[PATCH] D93686: [LoopUnroll] Fix a crash

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 18:59:29 PST 2020


skatkov marked 3 inline comments as done.
skatkov added inline comments.


================
Comment at: llvm/test/Transforms/LoopUnroll/unroll-after-peel.ll:47
+  %tmp5 = phi i32 [ 8, %bb2 ], [ %tmp, %bb1 ]
+  %tmp6 = call i64 (...) @llvm.experimental.deoptimize.i64(i32 10) [ "deopt"() ]
+  ret i64 %tmp6
----------------
Meinersbur wrote:
> Is this call required for the test?
Peeling guard requires that all non-latch exits must end-up by call to deoptimize.
So in other words peeling will not happen if I remove this call.


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

https://reviews.llvm.org/D93686



More information about the llvm-commits mailing list