When folding a branch to a common destination, preserve !annotation on
the created instruction, if the terminator of the BB that is going to be
removed has !annotation. This should ensure that !annotation is attached
to the instructions that 'replace' the original terminator.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG
llvm/lib/Transforms/Utils/SimplifyCFG.cpp | ||
---|---|---|
2950 | I guess this is preexisting, but this is confusing, it really should be named dropUnknownNonDebugMetadataExcept() |
I guess this is preexisting, but this is confusing, it really should be named dropUnknownNonDebugMetadataExcept()