[PATCH] D81911: [IR] Fix getBaseObject for GlobalAlias-to-GlobalIFunc
Itay Bookstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 04:49:56 PDT 2020
nextsilicon-itay-bookstein added a comment.
Doesn't that mean that GlobalIFunc shouldn't really inherit from GlobalIndirectSymbol (and then GlobalIndirectSymbol loses the justification for its existence)?
I get the feeling like there's an expectation for getBaseObject to be idempotent (since it pierces through ConstantExprs and GlobalAliases), but GlobalIndirectSymbol::getBaseObject takes the resolver (getOperand(0)) and performs the lookup on it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81911/new/
https://reviews.llvm.org/D81911
More information about the llvm-commits
mailing list