aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2020-04-06 16:14:40 -0700
committerNick Desaulniers <ndesaulniers@google.com>2020-04-06 16:14:46 -0700
commit41ba80182cc2540fcf85bcda10bbde04816b7e6e (patch)
tree9d1c900b2a28e8f6e2a1638908f5c0e259dae81e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent29beabbe51c222c7ee0f8aead5b45649363cdbea (diff)
downloadllvm-41ba80182cc2540fcf85bcda10bbde04816b7e6e.zip
llvm-41ba80182cc2540fcf85bcda10bbde04816b7e6e.tar.gz
llvm-41ba80182cc2540fcf85bcda10bbde04816b7e6e.tar.bz2
[CallSite Removal] a CallBase is never an IndirectCall for isInlineAsm
Summary: Thanks to Bill Wendling (void) for the report and steps to reproduce. It looks like this was missed during r350508's cleanup of the CallSite split into CallBase, CallInst, and CallBrInst. This was exposed by running pgo on a callbr, which was creating a ptrtoint to the inline asm thinking it was an indirect call. The relevant callchain looks like: IndirectCallPromotionPlugin::run() -> PGOIndirectCallVisitor::findIndirectCalls() -> PGOIndirectCallVisitor::visitCallBase() -> CallBase::isIndirectCall() Reviewers: void, chandlerc Reviewed By: void Subscribers: hiraditya, llvm-commits, craig.topper, srhines Tags: #llvm Differential Revision: https://reviews.llvm.org/D77600
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions