[PATCH] D15157: CodeGen peephole: fold redundant phys reg copies

JF Bastien via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 13:28:11 PST 2015


jfb updated this revision to Diff 41664.
jfb added a comment.

NFC: rename PhysCopy to ConstPhysCopy

First step in applying qcolombet's suggestion of only applying this optimization
to constant physical register (he suggested to affect non-allocatable only, but
that would include pinned ones too, whereas constant physical registers seem
more conservative).


http://reviews.llvm.org/D15157

Files:
  lib/CodeGen/PeepholeOptimizer.cpp
  test/CodeGen/X86/incdec-and-branch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15157.41664.patch
Type: text/x-patch
Size: 9494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151202/dc19f90f/attachment.bin>


More information about the llvm-commits mailing list