commit | c2d5ed6454720b012cb1b7342cde07a56606315d | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Mon Jul 09 17:20:20 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Mon Jul 09 17:20:20 2018 +0000 |
tree | e599668d895a0c3d627432b592942637db3e6d99 | |
parent | a5d860c47195837f227b4c42a5762058362ee574 [diff] |
[InstCombine] avoid extra poison when moving shift above shuffle As discussed in D49047 / D48987, shift-by-undef produces poison, so we can't use undef vector elements in that case.. Note that we need to extend this for poison-generating flags, and there's a proposal to create poison from FMF in D47963, git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336562 91177308-0d34-0410-b5e6-96231b3b80d8