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

[X86] Use SIGN_EXTEND rather than ZERO_EXTEND for lowering extract_vector_elt...

[X86] Use SIGN_EXTEND rather than ZERO_EXTEND for lowering extract_vector_elt from vXi1 with a non-const index.

We have a better range of instructions we can use if we can fill with the value i1 value rather than zeroing.

llvm-svn: 321315
parent 37ae5afb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment