Fix PR18014
authorMichael Liao <michael.liao@intel.com>
Fri, 22 Nov 2013 17:56:57 +0000 (17:56 +0000)
committerMichael Liao <michael.liao@intel.com>
Fri, 22 Nov 2013 17:56:57 +0000 (17:56 +0000)
commit089443891249760b2a81b5f9da1503290a35d13f
tree8af74b5412f3b0ce9e11f5d5e42cb0d12d384fe9
parentb83bf521136801c1b9ea72dc9daae9428782cc75
Fix PR18014

- When simplifying the mask generation for BLEND, check whether that mask is
  also consumed by other non-BLEND insns. If true, skip that simplification.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195476 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/pr18014.ll [new file with mode: 0644]