[PATCH] D51532: [DAGCombine] optimizeSetCCOfSignedTruncationCheck(): handle inverted pattern

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 31 02:49:07 PDT 2018


lebedev.ri created this revision.
lebedev.ri added reviewers: spatel, craig.topper, RKSimon.
Herald added a reviewer: javed.absar.

A follow-up for https://reviews.llvm.org/D49266 / https://reviews.llvm.org/rL337166 + https://reviews.llvm.org/D49497 / https://reviews.llvm.org/rL338044.

I'm actually not quite sure about this, is it this simple?
https://rise4fun.com/Alive/BDV
https://rise4fun.com/Alive/n7Z


Repository:
  rL LLVM

https://reviews.llvm.org/D51532

Files:
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  test/CodeGen/AArch64/lack-of-signed-truncation-check.ll
  test/CodeGen/AArch64/signed-truncation-check.ll
  test/CodeGen/X86/lack-of-signed-truncation-check.ll
  test/CodeGen/X86/signed-truncation-check.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51532.163491.patch
Type: text/x-patch
Size: 21095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180831/0ac26e2a/attachment.bin>


More information about the llvm-commits mailing list