[PATCH] D103574: [Attributor] Check HeapToStack's state for isKnownHeapToStack
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 07:14:14 PDT 2021
jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.
LG, one nit
================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:5028
+ return MallocCalls.contains(&CB) && !BadMallocCalls.count(&CB);
+ }
+
----------------
Add the isValid check here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103574/new/
https://reviews.llvm.org/D103574
More information about the llvm-commits
mailing list