[PATCH] Implement Named Register Global Variables in LLVM

Renato Golin renato.golin at linaro.org
Fri Apr 4 05:11:28 PDT 2014


  New in this revision:
  * Changing it to use metadata instead of global string, avoids emitting the string data at the end.
  * Special case for a register named "stack" to map to the architecture stack pointer and to be used with __builtin_stack_pointer.

  I'd still prefer to not assert on getRegisterName()

  Should be considered more serious for commit now.

Hi t.p.northover,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D3261?vs=8299&id=8369#toc

Files:
  docs/LangRef.rst
  include/llvm/CodeGen/ISDOpcodes.h
  include/llvm/IR/Intrinsics.td
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.h
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/AArch64/stackpointer.ll
  test/CodeGen/ARM/stackpointer.ll
  test/CodeGen/X86/stackpointer.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3261.2.patch
Type: text/x-patch
Size: 21788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140404/5b762c7a/attachment.bin>


More information about the llvm-commits mailing list