[PATCH] D101226: [SimplifyCFG] Preserve metadata when unconditionalizing branches (same target).
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 26 15:19:41 PDT 2021
Meinersbur added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:155
+ NewBI->copyMetadata(*BI, {LLVMContext::MD_loop, LLVMContext::MD_dbg,
+ LLVMContext::MD_annotation});
+
----------------
lebedev.ri wrote:
> I'm guessing you are intentionally not copying `mustprogress`?
As @jeroen.dobbelaere mentioned in D101141, `mustprogress` is a property inside the `MD_loop` metadata.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101226/new/
https://reviews.llvm.org/D101226
More information about the llvm-commits
mailing list