This is an archive of the discontinued LLVM Phabricator instance.

Use Pseudo Instruction to carry stack probing information
ClosedPublic

Authored by serge-sans-paille on May 27 2020, 8:53 AM.

Details

Summary

Instead of using a fake call and metadata to temporarily represent a probed
static alloca, use a pseudo instruction.

This is inspired by the SystemZ approach proposed in https://reviews.llvm.org/D78717.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMay 27 2020, 8:53 AM
craig.topper added inline comments.May 27 2020, 11:18 AM
llvm/lib/Target/X86/X86FrameLowering.cpp
531

Can we use llvm::find_if here which automatically calls begin/end?

Use llvm::find_if

serge-sans-paille marked an inline comment as done.Jun 1 2020, 12:33 PM
This revision is now accepted and ready to land.Jun 1 2020, 1:34 PM
This revision was automatically updated to reflect the committed changes.