[PATCH] D98884: [IR] Add opt-in parameter to hasAddressTaken() to ignore bitcasts callee in callbase instruction
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 18 12:33:47 PDT 2021
rampitec requested changes to this revision.
rampitec added inline comments.
This revision now requires changes to proceed.
================
Comment at: llvm/lib/IR/Function.cpp:1603
+ llvm::all_of(FU->users(),
+ [](const User *U) { return isa<CallBase>(U); }))
+ continue;
----------------
Should add test that is a callee operand. Also need to add test where it is an argument in a call.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98884/new/
https://reviews.llvm.org/D98884
More information about the llvm-commits
mailing list