Use Pseudo Instruction to carry stack probing information
authorserge-sans-paille <sguelton@redhat.com>
Wed, 27 May 2020 15:42:28 +0000 (17:42 +0200)
committerserge-sans-paille <sguelton@redhat.com>
Tue, 2 Jun 2020 14:14:06 +0000 (16:14 +0200)
commit6c733f5a1320977d24e7f5c565e55a6590e6ec8c
tree98e7aab1e5ad96d2bdf707c7733647723d44da98
parent21ccc684ff4c8563e7b20bed4ae7dc7d18fe03f3
Use Pseudo Instruction to carry stack probing information

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.

Differential Revision: https://reviews.llvm.org/D80641
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/lib/Target/X86/X86InstrCompiler.td