[LLVMdev] new warnings

Nick Lewycky nicholas at mxc.ca
Tue Apr 7 20:31:19 PDT 2009


Mike Stump wrote:
> On Apr 7, 2009, at 6:02 PM, Tanya M. Lattner wrote:
>> Can you please just respond to the specific patch on llvm-commits  
>> instead
>> of emailing llvm-dev?
> 
> Don't happen to know which checkin caused it...

Given that there's only ever been one checkin to this file, it can't be 
that hard. :)

But I'm not sure what it's complaining about. MDNode isa Constant, 'n1' 
isa MDNode*, hence &n1 isa MDNode**. Casting that to Constant** breaks 
strict-aliasing rules? Really?

Nick



More information about the llvm-dev mailing list