[PATCH] Add an inalloca flag to allocas

Reid Kleckner rnk at google.com
Fri Jan 17 09:48:39 PST 2014


Hi majnemer,

The only current use of this flag is to mark the alloca as dynamic, even
if its in the entry block.  The stack adjustment for the alloca can
never be folded into the prologue because the call may clear it and it
has to be allocated at the top of the stack.

http://llvm-reviews.chandlerc.com/D2571

Files:
  docs/LangRef.rst
  include/llvm/IR/Argument.h
  include/llvm/IR/Instructions.h
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLParser.h
  lib/IR/Function.cpp
  lib/IR/Instructions.cpp
  test/Assembler/inalloca.ll
  test/Verifier/inalloca-vararg.ll
  test/Verifier/inalloca2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2571.1.patch
Type: text/x-patch
Size: 10139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140117/c8b359d3/attachment.bin>


More information about the llvm-commits mailing list