[PATCH] D51532: [DAGCombine] optimizeSetCCOfSignedTruncationCheck(): handle inverted pattern
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 31 11:25:04 PDT 2018
efriedma added a comment.
AArch64 test changes look fine.
================
Comment at: test/CodeGen/AArch64/signed-truncation-check.ll:110
+; CHECK-NEXT: cmp w8, w0, uxth
+; CHECK-NEXT: cset w0, eq
; CHECK-NEXT: ret
----------------
We should be able to optimize out the masking here, I think, but I guess that's orthogonal.
Repository:
rL LLVM
https://reviews.llvm.org/D51532
More information about the llvm-commits
mailing list