[PATCH] D52075: [InstCombine] Support (sub (sext x), (sext y)) --> (sext (sub x, y)) and (sub (zext x), (zext y)) --> (zext (sub x, y))

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 14 22:08:02 PDT 2018


craig.topper updated this revision to Diff 165637.
craig.topper added a comment.

Rebase to use the code from r342292.


Repository:
  rL LLVM

https://reviews.llvm.org/D52075

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/narrow-math.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52075.165637.patch
Type: text/x-patch
Size: 6148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180915/3c8f05b3/attachment.bin>


More information about the llvm-commits mailing list