[PATCH] D10977: Allow {e, r}bp as the target of {read, write}_register.

Pat Gavlin pagavlin at microsoft.com
Mon Jul 6 15:56:25 PDT 2015


pgavlin added reviewers: rengolin, nadav.
pgavlin added a subscriber: llvm-commits.

This patch allows the read_register and write_register intrinsics to read/write the RBP/EBP registers on X86 iff the targeted register is the frame pointer for the containing function.

Repository:
  rL LLVM

http://reviews.llvm.org/D10977

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.h
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/Mips/MipsISelLowering.h
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/frameregister.ll
  test/CodeGen/X86/named-reg-alloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10977.29135.patch
Type: text/x-patch
Size: 11720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150706/dff8d0bb/attachment.bin>


More information about the llvm-commits mailing list