diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-09-05 23:19:45 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-09-05 23:19:45 +0000 |
| commit | 21d27ee95b41a113d71e74c4d19bb1d0822812db (patch) | |
| tree | e34d6ef69e68236a6fbb97a9a4ec6143b11f7684 /llvm/test/CodeGen/X86/vec_set-3.ll | |
| parent | 489decec674f20c4d7ecb2503b74dacf023a7539 (diff) | |
| download | bcm5719-llvm-21d27ee95b41a113d71e74c4d19bb1d0822812db.tar.gz bcm5719-llvm-21d27ee95b41a113d71e74c4d19bb1d0822812db.zip | |
[x86] Fix an embarressing bug in the INSERTPS formation code. The mask
computation was totally wrong, but somehow it didn't really show up with
llc.
I've added an assert that triggers on multiple existing test cases and
updated one of them to show the correct value.
There appear to still be more bugs lurking around insertps's mask. =/
However, note that this only really impacts the new vector shuffle
lowering.
llvm-svn: 217289
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_set-3.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/vec_set-3.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/vec_set-3.ll b/llvm/test/CodeGen/X86/vec_set-3.ll index 9823963d61b..043cf96a671 100644 --- a/llvm/test/CodeGen/X86/vec_set-3.ll +++ b/llvm/test/CodeGen/X86/vec_set-3.ll @@ -8,7 +8,7 @@ define <4 x float> @test(float %a) { ; CHECK-NEXT: retl ; ; CHECK-EXP-LABEL: test: -; CHECK-EXP: insertps $285, {{.*}}, %xmm0 +; CHECK-EXP: insertps $29, {{.*}}, %xmm0 ; CHECK-EXP-NEXT: retl entry: |

