[PATCH] D49320: [InstCombine] Fold 'check for [no] signed truncation' pattern

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 01:56:52 PDT 2018


lebedev.ri updated this revision to Diff 156026.
lebedev.ri added a comment.

Rebase on top of more tests, that show miscompile.


Repository:
  rL LLVM

https://reviews.llvm.org/D49320

Files:
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  test/Transforms/InstCombine/canonicalize-lack-of-signed-truncation-check.ll
  test/Transforms/InstCombine/canonicalize-signed-truncation-check.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49320.156026.patch
Type: text/x-patch
Size: 8569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180718/5f1a63a8/attachment.bin>


More information about the llvm-commits mailing list