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

[X86] Use undefined instead of setzero in shufflevector based intrinsics when...

[X86] Use undefined instead of setzero in shufflevector based intrinsics when the second source is unused. Rewrite immediate extractions in shuffle intrinsics to be in ((c >> x) & y) form instead of ((c & z) >> x). This way only x varies between each use instead of having to vary x and z.

llvm-svn: 274525
parent c03d610c
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