[PATCH] D96179: Ignore assume like calls by default in hasAddressTaken()
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 14:04:33 PST 2021
rampitec created this revision.
rampitec added reviewers: arsenm, ggeorgakoudis, chandlerc, madhur13490.
Herald added a subscriber: dexonsmith.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
https://reviews.llvm.org/D96179
Files:
llvm/include/llvm/IR/Function.h
Index: llvm/include/llvm/IR/Function.h
===================================================================
--- llvm/include/llvm/IR/Function.h
+++ llvm/include/llvm/IR/Function.h
@@ -877,7 +877,7 @@
///
bool hasAddressTaken(const User ** = nullptr,
bool IgnoreCallbackUses = false,
- bool IgnoreAssumeLikeCalls = false) const;
+ bool IgnoreAssumeLikeCalls = true) const;
/// isDefTriviallyDead - Return true if it is trivially safe to remove
/// this function definition from the module (because it isn't externally
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96179.321875.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/5209024f/attachment.bin>
More information about the llvm-commits
mailing list