[PATCH] D51236: [InstCombine] Extend (add (sext x), cst) --> (sext (add x, cst')) and (add (zext x), cst) --> (zext (add x, cst')) to work for vectors

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 27 19:03:22 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL340796: [InstCombine] Extend (add (sext x), cst) --> (sext (add x, cst')) and (add… (authored by ctopper, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D51236?vs=162774&id=162790#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D51236

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/trunk/test/Transforms/InstCombine/sink-zext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51236.162790.patch
Type: text/x-patch
Size: 5341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180828/c944f140/attachment.bin>


More information about the llvm-commits mailing list