Avoid extra vreg copies for arguments passed in registers. Specifically, this can...
authorEli Friedman <eli.friedman@gmail.com>
Thu, 5 May 2011 16:53:34 +0000 (16:53 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 5 May 2011 16:53:34 +0000 (16:53 +0000)
commit23d3243e620064c69e4e6308156208f3205342c1
tree3afa091dcced5dcca7d8a6a80a88dc9aac250b2e
parentd41bd043d3a2b785f2ff4c556c3d0051842d8255
Avoid extra vreg copies for arguments passed in registers.  Specifically, this can make MachineCSE more effective in some cases (especially in small functions).  PR8361 / part of rdar://problem/8259436 .

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130928 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/X86/2010-06-25-CoalescerSubRegDefDead.ll
test/CodeGen/X86/cmp-redundant.ll