Skip to content
Commit 77dd86ee authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Add a hack to combineVSelectWithAllOnesOrZeros to turn selects with two...

[X86] Add a hack to combineVSelectWithAllOnesOrZeros to turn selects with two zero/undef vector inputs into an all zeroes vector.

If the two zero vectors have undefs in different places they
won't get combined by simplifySelect.

This fixes a regression from an earlier commit.

llvm-svn: 371351
parent 9c119012
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment