[PATCH] D31686: [InstCombine] Support folding a subtract with a constant LHS into a phi node

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 12:32:56 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL300363: [InstCombine] Support folding a subtract with a constant LHS into a phi node (authored by ctopper).

Changed prior to commit:
  https://reviews.llvm.org/D31686?vs=94139&id=95334#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D31686

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/trunk/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstCombinePHI.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/trunk/test/Transforms/InstCombine/sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31686.95334.patch
Type: text/x-patch
Size: 10757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170414/83a6a749/attachment.bin>


More information about the llvm-commits mailing list