[InstCombine] allow flag propagation when using safe constant
authorSanjay Patel <spatel@rotateright.com>
Tue, 10 Jul 2018 16:09:49 +0000 (16:09 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 10 Jul 2018 16:09:49 +0000 (16:09 +0000)
commitc8d9d812ec30345c175587608944c7976eda2ebb
treea267833551255b1411b4272964b9179cb6ae6a84
parentf0642bfe449a57f993df023bdf14dc275a7592e3
[InstCombine] allow flag propagation when using safe constant

This corresponds with the code for the single binop pattern
added in rL336684.

llvm-svn: 336696
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
llvm/test/Transforms/InstCombine/shuffle_select.ll