[llvm-commits] [llvm] r110423 - in /llvm/trunk: include/llvm/CodeGen/Passes.h include/llvm/Target/TargetInstrInfo.h lib/CodeGen/LLVMTargetMachine.cpp lib/CodeGen/OptimizeCmps.cpp lib/Target/ARM/ARMBaseInstrInfo.cpp lib/Target/ARM/ARMBaseInstrInfo.h

Chris Lattner clattner at apple.com
Fri Aug 6 22:27:29 PDT 2010


On Aug 6, 2010, at 6:10 PM, Evan Cheng wrote:

> 
> On Aug 6, 2010, at 2:24 PM, Chris Lattner wrote:
> 
>> 
>> On Aug 5, 2010, at 6:32 PM, Bill Wendling wrote:
>> 
>>> Author: void
>>> Date: Thu Aug  5 20:32:48 2010
>>> New Revision: 110423
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=110423&view=rev
>>> Log:
>>> Add the Optimize Compares pass (disabled by default).
>> 
>> Why do we need an entire new pass to do this?  Isn't this just a form of CSE?  Why doesn't it go in the MachineCSE pass?
> 
> I didn't think of it. That's an interesting idea.

Ultimately it is never clear of course, but it is really nice to have fewer relatively-coarse grained passes than tons of fine grained ones.

-Chris



More information about the llvm-commits mailing list