[llvm-commits] [llvm] r125105 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Chris Lattner clattner at apple.com
Mon Feb 21 10:30:23 PST 2011


On Feb 21, 2011, at 7:23 AM, David A. Greene wrote:

> Chris Lattner <clattner at apple.com> writes:
> 
>> On Feb 17, 2011, at 3:34 PM, David A. Greene wrote:
>>> For debugging purposes.  Should I add this as a target option instead?
>> 
>> What is the use case?  Is this a temporary hack that will be removed later or something you intend to keep around forever?
> 
> The use case is when trying to isolate misuse of 256-bit registers.  A
> typical situation involves shuffles as the code to generate a 256-bit
> shuffle is more complex than the code for a 128-bit shuffle.  In codes
> with many shuffles, a switch like this makes it easier to identify the
> offending shuffle.

Please do.  Bugpoint is more general and pretty good at this sort of thing,

-Chris





More information about the llvm-commits mailing list