[PATCH] D14878: findDeadCallerSavedReg needs to pay attention to calling convention

Andy Ayers via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 11:45:25 PST 2015


AndyAyers created this revision.
AndyAyers added a reviewer: majnemer.
AndyAyers added a subscriber: llvm-commits.
AndyAyers set the repository for this revision to rL LLVM.

Caller saved regs differ between SysV and Win64. Use the tail call available set to scavenge from.

 Added a new test case for windows. Fixed up a number of X64 tests since now RCX is preferred over RDX on SysV.

Repository:
  rL LLVM

http://reviews.llvm.org/D14878

Files:
  lib/Target/X86/X86FrameLowering.cpp
  test/CodeGen/X86/emutls-pie.ll
  test/CodeGen/X86/emutls.ll
  test/CodeGen/X86/half.ll
  test/CodeGen/X86/statepoint-allocas.ll
  test/CodeGen/X86/statepoint-call-lowering.ll
  test/CodeGen/X86/statepoint-gctransition-call-lowering.ll
  test/CodeGen/X86/vector-sext.ll
  test/CodeGen/X86/win64_sibcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14878.40809.patch
Type: text/x-patch
Size: 9657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151120/d6cb4ad2/attachment.bin>


More information about the llvm-commits mailing list