[PATCH] D33604: [InstCombine] Pass a proper context instruction to all of the calls into InstSimplify

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 13:37:31 PDT 2017


craig.topper created this revision.

This matches the behavior we already had for compares and makes us consistent everywhere.


https://reviews.llvm.org/D33604

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  lib/Transforms/InstCombine/InstCombinePHI.cpp
  lib/Transforms/InstCombine/InstCombineSelect.cpp
  lib/Transforms/InstCombine/InstCombineShifts.cpp
  lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33604.100467.patch
Type: text/x-patch
Size: 16807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170526/9e199f72/attachment.bin>


More information about the llvm-commits mailing list