[llvm] r200503 - DAGCombine should not produce ISD::OR nodes after operation legalization if they're not legal.

David Blaikie dblaikie at gmail.com
Thu Jan 30 17:07:03 PST 2014


On Thu, Jan 30, 2014 at 5:02 PM, Owen Anderson <resistor at mac.com> wrote:

>
> On Jan 30, 2014, at 5:01 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
>
>
> On Thu, Jan 30, 2014 at 4:51 PM, Owen Anderson <resistor at mac.com> wrote:
>
>> Author: resistor
>> Date: Thu Jan 30 18:51:43 2014
>> New Revision: 200503
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=200503&view=rev
>> Log:
>> DAGCombine should not produce ISD::OR nodes after operation legalization
>> if they're not legal.
>>
>
> Is this not testable for some reason?
>
>
> No in-tree targets, to my knowledge, have a legal ISD::ADD but an illegal
> ISD::OR.
>

Figured - and though it's a big ask (& not an immediate issue, just out of
general curiosity) I don't suppose there's any chance of unit testing this
sort of thing? (and/or perhaps some artificial target we can just bundle in
a bunch of quirky features like this to test)

- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140130/4d34de11/attachment.html>


More information about the llvm-commits mailing list