In r275989 we enabled the folding of logic(cast(icmp), cast(icmp)) to cast(logic(icmp, icmp)). Here we add more test cases to assure this folding works for all logical operations and/or/xor.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D22561
[InstCombine] Provide more test cases for cast-folding [NFC] ClosedPublic Authored by mreisinger on Jul 20 2016, 2:29 AM.
Details Summary In r275989 we enabled the folding of logic(cast(icmp), cast(icmp)) to cast(logic(icmp, icmp)). Here we add more test cases to assure this folding works for all logical operations and/or/xor.
Diff Detail Event Timelinemreisinger retitled this revision from to [InstCombine] Provide more test cases for cast-folding [NFC]. mreisinger updated this object. This revision is now accepted and ready to land.Jul 20 2016, 4:32 AM
Diff 64648 test/Transforms/InstCombine/zext.ll
|