[PATCH] Implement inalloca codegen for x86 with the new inalloca design

Reid Kleckner rnk at google.com
Mon Jan 27 16:23:46 PST 2014


Calls with inalloca are lowered by skipping all stores for arguments
passed in memory and the initial stack adjustment to allocate argument
memory.

Now the frontend is responsible for the memory layout, and the backend
doesn't have to do any work.  As a result these changes are pretty
minimal.

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

Files:
  include/llvm/Support/CallSite.h
  include/llvm/Target/TargetCallingConv.h
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/IR/Mangler.cpp
  lib/Target/X86/X86FastISel.cpp
  lib/Target/X86/X86FrameLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/inalloca-ctor.ll
  test/CodeGen/X86/inalloca-invoke.ll
  test/CodeGen/X86/inalloca-stdcall.ll
  test/CodeGen/X86/inalloca.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2637.1.patch
Type: text/x-patch
Size: 19187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140127/bae02021/attachment.bin>


More information about the llvm-commits mailing list