[PATCH] D125574: [BasicBlockUtils] Do not move loop metadata if outer loop header.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 24 04:23:53 PDT 2022
fhahn added a comment.
In D125574#3532385 <https://reviews.llvm.org/D125574#3532385>, @Meinersbur wrote:
> LGTM. Please wait for @fhahn LGTM as well.
It looks like the patch was landed but the commit message seems a bit out-of-sync with the code.it
================
Comment at: llvm/test/Transforms/LoopSimplify/update_latch_md2.ll:7
; CHECK: br label %loop.header, !llvm.loop !0
; CHECK-LABEL: loop.latch:
+; CHECK: br i1 %p, label %loop.latch, label %loop.header.loopexit, !llvm.loop !0
----------------
It would probably be good to check the while function using the auto-generation script.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125574/new/
https://reviews.llvm.org/D125574
More information about the llvm-commits
mailing list