Re: [llvm-commits] [llvm] r47046 - in /llvm/trunk: include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/SimpleRegisterCoalescing.cpp lib/CodeGen/SimpleRegisterCoalescing.h

2008-02-13 Thread Evan Cheng
On Feb 12, 2008, at 9:56 PM, Chris Lattner wrote: On Feb 12, 2008, at 7:01 PM, Evan Cheng wrote: Author: evancheng Date: Tue Feb 12 21:01:43 2008 New Revision: 47046 URL: http://llvm.org/viewvc/llvm-project?rev=47046view=rev Log: Initial support for copy elimination by commuting its

Re: [llvm-commits] [llvm] r47046 - in /llvm/trunk: include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/SimpleRegisterCoalescing.cpp lib/CodeGen/SimpleRegisterCoalescing.h

2008-02-13 Thread Chris Lattner
On Feb 13, 2008, at 1:47 AM, Evan Cheng wrote: Very nice, does it also help shootout/fib? bh speedup doesn't seem real. It doesn't help fib. Ok, once things have settled, please take a look at the comments in the bugzilla to see if there are other cases being missed. This idiom happens a

Re: [llvm-commits] [llvm] r47046 - in /llvm/trunk: include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/SimpleRegisterCoalescing.cpp lib/CodeGen/SimpleRegisterCoalescing.h

2008-02-13 Thread Evan Cheng
On Feb 13, 2008, at 9:31 AM, Chris Lattner wrote: On Feb 13, 2008, at 1:47 AM, Evan Cheng wrote: Very nice, does it also help shootout/fib? bh speedup doesn't seem real. It doesn't help fib. Ok, once things have settled, please take a look at the comments in the bugzilla to see if there

Re: [llvm-commits] [llvm] r47046 - in /llvm/trunk: include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/SimpleRegisterCoalescing.cpp lib/CodeGen/SimpleRegisterCoalescing.h

2008-02-13 Thread Chris Lattner
On Feb 13, 2008, at 10:58 AM, Evan Cheng wrote: Ah, I see. Well this seems like an independently useful change that will both speed up and simplify coalescing. Are you interested in tackling it as part of this project? That's the plan. Without RAUW change, I can't enable this

[llvm-commits] [llvm] r47046 - in /llvm/trunk: include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/SimpleRegisterCoalescing.cpp lib/CodeGen/SimpleRegisterCoalescing.h

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 21:01:43 2008 New Revision: 47046 URL: http://llvm.org/viewvc/llvm-project?rev=47046view=rev Log: Initial support for copy elimination by commuting its definition MI. PR1877. A3 = op A2 B0kill

Re: [llvm-commits] [llvm] r47046 - in /llvm/trunk: include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/SimpleRegisterCoalescing.cpp lib/CodeGen/SimpleRegisterCoalescing.h

2008-02-12 Thread Chris Lattner
On Feb 12, 2008, at 7:01 PM, Evan Cheng wrote: Author: evancheng Date: Tue Feb 12 21:01:43 2008 New Revision: 47046 URL: http://llvm.org/viewvc/llvm-project?rev=47046view=rev Log: Initial support for copy elimination by commuting its definition MI. Yay, thanks for tackling this Evan!