Hi, is there a convenient way to get all allocations popped from the stack by llvm.stackrestore? Is this even decidable at compile time? Thanks Marc
On Sep 30, 2009, at 2:04 AM, Marc Brünink wrote:> Hi, > > is there a convenient way to get all allocations popped from the stack > by llvm.stackrestore? Is this even decidable at compile time?Nope, you can (theoretically) have arbitrary control flow between the save and restore. In practice, VLAs are very structured, so this only happens if the code has allocas mixed in with VLAs. -Chris
Seemingly Similar Threads
- [LLVMdev] Issues with the llvm.stackrestore intrinsic
- [LLVMdev] Issues with the llvm.stackrestore intrinsic - now LoopRotation handling of alloca
- [RFC] Replacing inalloca with llvm.call.setup and preallocated
- [RFC] Replacing inalloca with llvm.call.setup and preallocated
- [RFC] Replacing inalloca with llvm.call.setup and preallocated