When replacing a conditional branch by an unconditional one because the targets are identical, transfer the metadata to the new branch instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This LGTM, thank you.
llvm/lib/Transforms/Utils/Local.cpp | ||
---|---|---|
155 | I'm guessing you are intentionally not copying mustprogress? |
llvm/lib/Transforms/Utils/Local.cpp | ||
---|---|---|
155 | As @jeroen.dobbelaere mentioned in D101141, mustprogress is a property inside the MD_loop metadata. |
I'm guessing you are intentionally not copying mustprogress?