Skip to content
Commit 2455e9c4 authored by Pete Cooper's avatar Pete Cooper
Browse files

Only legalise a VSELECT in to bitwise operations if the vector mask bool is...

Only legalise a VSELECT in to bitwise operations if the vector mask bool is zeros or all ones.  A vector bool with just ones isn't suitable for masking with.

No test case unfortunately as i couldn't find a target which fit all
the conditions needed to hit this code.

llvm-svn: 163075
parent d02949b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment