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
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
150 ms | x64 windows > lld.MachO::reproduce.s |
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. |
clang-format: please reformat the code