[PATCH] D126354: [GuardWidening] Remove nuw/nsw flags for hoisted instructions

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 25 04:47:50 PDT 2022


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

Looks good, but please regenerate checks here. It's not clear at all what this test is trying to ensure (e.g. what is `wide.chk`).



================
Comment at: llvm/test/Transforms/GuardWidening/range-check-merging.ll:239
+; CHECK:  call void (i1, ...) @llvm.experimental.guard(i1 %wide.chk) [ "deopt"() ]
+; CHECK:  ret void
+entry:
----------------
Can you please regenerate all checks in this file with `update_test_checks.py` and then rebase on top of it? I can't say what it's actually trying to check (and same applies to other tests here).


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

https://reviews.llvm.org/D126354



More information about the llvm-commits mailing list