A follow-up for D49266 / rL337166 + D49497 / rL338044.
I'm actually not quite sure about this, is it this simple?
https://rise4fun.com/Alive/BDV
https://rise4fun.com/Alive/n7Z
Paths
| Differential D51532
[DAGCombine] optimizeSetCCOfSignedTruncationCheck(): handle inverted pattern ClosedPublic Authored by lebedev.ri on Aug 31 2018, 2:49 AM.
Details Summary A follow-up for D49266 / rL337166 + D49497 / rL338044. I'm actually not quite sure about this, is it this simple?
Diff Detail
Event TimelineComment Actions That is complicated/magical. :) Comment Actions AArch64 test changes look fine.
This revision is now accepted and ready to land.Sep 1 2018, 4:54 AM Closed by commit rL341287: [DAGCombine] optimizeSetCCOfSignedTruncationCheck(): handle inverted pattern (authored by lebedevri). · Explain WhySep 2 2018, 6:57 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 163643 llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/trunk/test/CodeGen/AArch64/lack-of-signed-truncation-check.ll
llvm/trunk/test/CodeGen/AArch64/signed-truncation-check.ll
llvm/trunk/test/CodeGen/X86/lack-of-signed-truncation-check.ll
llvm/trunk/test/CodeGen/X86/signed-truncation-check.ll
|