Try trivial remat before the coalescer gives up on a vr / physreg coalescing for...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 26 Mar 2010 00:07:25 +0000 (00:07 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 26 Mar 2010 00:07:25 +0000 (00:07 +0000)
commit9f689486094303aff800093cf36d95023da02025
tree354a47a79dba636c00b88c6f863e7b1d417d8014
parent1feeadac1baa7c8725dcd8755abfe90d8defb7df
Try trivial remat before the coalescer gives up on a vr / physreg coalescing for fear of tying up a physical register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99575 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
test/CodeGen/X86/2009-02-26-MachineLICMBug.ll
test/CodeGen/X86/phys_subreg_coalesce-2.ll
test/CodeGen/X86/pr2659.ll