[PATCH] D33003: Add callee-saved registers as implicit uses in return instructions

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 07:30:27 PDT 2017


kparzysz updated this revision to Diff 98763.
kparzysz added a comment.

Add pristine registers as live-in to all blocks that are on a path from entry to a return block.

This causes one X86 testcase to fail: CodeGen/X86/break-false-dep.ll

  test/CodeGen/X86/break-false-dep.ll:317:7: error: expected string not found in input
  ;AVX: vcvtsi2sdq {{.*}}, %xmm6, {{%xmm[0-9]+}}
        ^
  <stdin>:496:2: note: scanning from here
   #APP
   ^
  <stdin>:585:2: note: possible intended match here
   vcvtsi2sdq %r11, %xmm2, %xmm4
   ^


Repository:
  rL LLVM

https://reviews.llvm.org/D33003

Files:
  include/llvm/Target/TargetFrameLowering.h
  lib/CodeGen/PrologEpilogInserter.cpp
  lib/CodeGen/TargetFrameLoweringImpl.cpp
  lib/Target/ARM/ARMFrameLowering.cpp
  lib/Target/ARM/ARMFrameLowering.h
  lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  lib/Target/X86/X86FrameLowering.cpp
  lib/Target/X86/X86FrameLowering.h
  test/CodeGen/PowerPC/ppc-shrink-wrapping.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33003.98763.patch
Type: text/x-patch
Size: 18696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170512/f88c2f46/attachment.bin>


More information about the llvm-commits mailing list