diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-06-27 20:07:40 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-06-27 20:07:40 +0000 |
commit | a94ef908d90524558b13c3a9fe44cf9875a0bb7b (patch) | |
tree | fac3ff357b8eb01dd013f0388f78bcb93bda0005 /llvm/lib | |
parent | 6ce5b63019c85347ef0816436d574f20a68a87c1 (diff) | |
download | bcm5719-llvm-a94ef908d90524558b13c3a9fe44cf9875a0bb7b.tar.gz bcm5719-llvm-a94ef908d90524558b13c3a9fe44cf9875a0bb7b.zip |
[x86] Fix another bug hit when bootstrapping with the new shuffle
lowering.
For maximum irony, I had already discovered this bug, diagnosed it, and
left FIXMEs about it in the test cases. =[ I just failed to go back over
those until after i had reduced a bootstrap miscompile down to a single
TU, stared at the assembly for an hour, and figured out the bug. Again.
Oh well.
llvm-svn: 211955
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index fa80717f994..b77a7fee0b7 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -7105,7 +7105,7 @@ static SDValue lowerV4F32VectorShuffle(SDValue Op, SDValue V1, SDValue V2, // Now we do a normal shuffle of V1 by giving V1 as both operands to // a blend. - HighV = V1; + LowV = HighV = V1; NewMask[0] = Mask[0] < 4 ? 0 : 2; NewMask[1] = Mask[0] < 4 ? 2 : 0; NewMask[2] = Mask[2] < 4 ? 1 : 3; |