[PATCH] D49266: [X86][AArch64][DAGCombine] Unfold 'check for [no] signed truncation' pattern

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 09:32:48 PDT 2018


lebedev.ri updated this revision to Diff 155411.
lebedev.ri edited the summary of this revision.
lebedev.ri added a comment.

Added all the sane negative tests.
Other than the one-use question i think this is ready for the review.


Repository:
  rL LLVM

https://reviews.llvm.org/D49266

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  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: D49266.155411.patch
Type: text/x-patch
Size: 24321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180713/af508145/attachment.bin>


More information about the llvm-commits mailing list