bug 20542

Tim Northover t.p.northover at gmail.com
Mon Aug 18 07:35:52 PDT 2014


> I think in the case of a SETCC node you are absolutely right, and this is the case that the comment in the source code describes. The same code, however, is also invoked on a SELECT_CC node, and this is what I had in mind:

I think the "isSetCCEquivalent" call should only let through SELECT_CC
operations that are being used to emulate a SETCC and has results
consistent with getBooleanContents().

Your example doesn't appear to satisfy this (for example), assuming a
generic N0.

Cheers.

Tim.



More information about the llvm-commits mailing list