[cfe-commits] Many test failures.

Chris Lattner clattner at apple.com
Wed Dec 19 22:04:26 PST 2007


On Dec 19, 2007, at 9:10 PM, Mike Stump wrote:

> On Dec 19, 2007, at 8:52 PM, Chris Lattner wrote:
>> Not a problem, stuff happens.  I'm usually the one at blame after
>> all ;-)
>
> Your wish is my command:
>
> r45250 | lattner | 2007-12-19 17:56:58 -0800 (Wed, 19 Dec 2007) | 4  
> lines
>
> simplify this code with the new m_Zero() pattern.  Make sure the  
> select only
> has a single use, and generalize it to not require N to be a constant.
>
>
> /Volumes/mrs5/net/llvm/llvm/lib/Transforms/Scalar/ 
> InstructionCombining.cpp: In member function  
> 'llvm 
> ::Instruction 
> *<unnamed>::InstCombiner::visitAdd(llvm::BinaryOperator&)':
> /Volumes/mrs5/net/llvm/llvm/lib/Transforms/Scalar/ 
> InstructionCombining.cpp:2148: error: 'm_Zero' was not declared in  
> this scope
> /Volumes/mrs5/net/llvm/llvm/lib/Transforms/Scalar/ 
> InstructionCombining.cpp:2151: error: 'm_Zero' was not declared in  
> this scope
>
> ?  A grep didn't find any bits other than the two hits you just put  
> in.

Yep, perfect example. :)  I forgot to check in the header immediately,  
it should be ok now.

-Chris



More information about the cfe-commits mailing list