HomePhabricator

[DAGCombine] optimizeSetCCOfSignedTruncationCheck(): handle inverted pattern

Description

[DAGCombine] optimizeSetCCOfSignedTruncationCheck(): handle inverted pattern

Summary:
A follow-up for D49266 / rL337166 + D49497 / rL338044.

This is still the same pattern to check for the [lack of]
signed truncation, but in this case the constants and the predicate
are negated.

https://rise4fun.com/Alive/BDV
https://rise4fun.com/Alive/n7Z

Reviewers: spatel, craig.topper, RKSimon, javed.absar, efriedma, dmgreen

Reviewed By: spatel

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D51532

Details

Committed
lebedevriSep 2 2018, 6:56 AM
Reviewer
spatel
Differential Revision
D51532: [DAGCombine] optimizeSetCCOfSignedTruncationCheck(): handle inverted pattern
Parents
rL341286: Fix buildbot test
Branches
Unknown
Tags
Unknown