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

David A. Greene greened at obbligato.org
Mon Feb 21 07:23:22 PST 2011


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.

I'm fine taking it out for now.

                            -Dave



More information about the llvm-commits mailing list