[PATCH] D52548: Stop instcombining introducing undef's in div/rem instructions.

Neil Henning via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 28 02:42:02 PDT 2018


sheredom updated this revision to Diff 167446.
sheredom added a comment.

Move the shuffle widens check into Instructions.h, and call it `increasesLength` to match the existing `changesLength` call that was already on ShuffleVectorInst.


https://reviews.llvm.org/D52548

Files:
  include/llvm/IR/Instructions.h
  lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  test/Transforms/InstCombine/stop_bad_undef_propagation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52548.167446.patch
Type: text/x-patch
Size: 14121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180928/60df0b0a/attachment.bin>


More information about the llvm-commits mailing list