This is an archive of the discontinued LLVM Phabricator instance.

Define behavior of "stack-probe-size" attribute when inlining.
ClosedPublic

Authored by whitequark on Jun 22 2017, 1:19 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

whitequark created this revision.Jun 22 2017, 1:19 PM
majnemer added inline comments.Jun 22 2017, 1:57 PM
docs/LangRef.rst
1515

I believe it is also respected by stack probes which don't utilize the probe-stack attribute.

lib/IR/Attributes.cpp
1649–1665

I think this should be in its own adjustCallerStackProbeSize (or something similar) merger.

Addressed review comments

This revision is now accepted and ready to land.Jun 22 2017, 3:13 PM
This revision was automatically updated to reflect the committed changes.