[PATCH] D49247: [NFC][X86][AArch64] Add tests for the 'check for [no] signed truncation' pattern

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 12 09:22:05 PDT 2018


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

PR38149 <https://bugs.llvm.org/show_bug.cgi?id=38149>

As disscussed in https://reviews.llvm.org/D49179#1158957 and later,
the IR can be improved:
https://rise4fun.com/Alive/gBf

But as it looks from these tests,
i think we want to revert at least some cases in DAGCombine.


Repository:
  rL LLVM

https://reviews.llvm.org/D49247

Files:
  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: D49247.155194.patch
Type: text/x-patch
Size: 42543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180712/8c63f31a/attachment.bin>


More information about the llvm-commits mailing list