[llvm] [SimplifyCFG][SCCP] Preserve loop metadata when replacing terminators with branches (PR #220144)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 1 00:34:53 PDT 2026
aengelke wrote:
For UncondBr, profiling metadata will never be copied because it's invalid there. For UncondBr, I think it makes sense to add a paramter to IRBuilder that copies loop/dbg/annotation. For the CondBr, there should be not much harm in copying+dropping?
https://github.com/llvm/llvm-project/pull/220144
More information about the llvm-commits
mailing list