This is an archive of the discontinued LLVM Phabricator instance.

[Attributor] Check HeapToStack's state for isKnownHeapToStack
ClosedPublic

Authored by jhuber6 on Jun 2 2021, 5:27 PM.

Details

Summary

This patch changes the isKnownHeapToStack and isAssumedHeapToStack
member functions to return if a function call is going to be altered by
HeapToStack.

Diff Detail

Event Timeline

jhuber6 created this revision.Jun 2 2021, 5:27 PM
jhuber6 requested review of this revision.Jun 2 2021, 5:27 PM
Herald added a reviewer: baziotis. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
ormris removed a subscriber: ormris.Jun 3 2021, 10:09 AM
jdoerfert accepted this revision.Jun 4 2021, 7:14 AM

LG, one nit

llvm/lib/Transforms/IPO/AttributorAttributes.cpp
5028

Add the isValid check here.

This revision is now accepted and ready to land.Jun 4 2021, 7:14 AM