GlobalAlias and GlobalIFunc ought to be treated the same by the IR
linker, so we can generalize the code to be in terms of their common
base class GlobalIndirectSymbol.
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 25467 Build 25466: arc lint + arc unit
Event Timeline
LGTM with a few minor comments.
llvm/include/llvm/Transforms/Utils/ValueMapper.h | ||
---|---|---|
185 | Elsewhere this was changed to "Constant &Target", make this one consistent. | |
llvm/lib/Linker/IRMover.cpp | ||
590 | This comment block might need to be generalized since it talks about aliases | |
llvm/test/LTO/Resolution/X86/ifunc2.ll | ||
13 | Nit: these 2 check lines correspond to the below @foo_resolver def, so it would make more sense to put them right before it, whereas the ones you check right before it are for the copy from the other module (which might make more sense shown after the below def). |
Elsewhere this was changed to "Constant &Target", make this one consistent.