summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-12-07 15:10:05 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-12-07 15:10:05 +0000
commit33f2a669c1327b76f1aaf1de8de619b9db1f44ce (patch)
tree6d80c0d85912ec8c0919a667c2704523167fa501 /llvm/test/CodeGen
parent4b1ebf97fc6bd062f999d3518654d119bf7c25b7 (diff)
downloadbcm5719-llvm-33f2a669c1327b76f1aaf1de8de619b9db1f44ce.tar.gz
bcm5719-llvm-33f2a669c1327b76f1aaf1de8de619b9db1f44ce.zip
[X86][SSE] Fix vpextrd/vpextrq checks
They were testing for the pre-vex versions llvm-svn: 288911
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/stack-folding-int-avx1.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/stack-folding-int-avx1.ll b/llvm/test/CodeGen/X86/stack-folding-int-avx1.ll
index 6e8874ca501..c2f1053c614 100644
--- a/llvm/test/CodeGen/X86/stack-folding-int-avx1.ll
+++ b/llvm/test/CodeGen/X86/stack-folding-int-avx1.ll
@@ -428,7 +428,7 @@ declare <16 x i8> @llvm.x86.sse42.pcmpistrm128(<16 x i8>, <16 x i8>, i8) nounwin
define i32 @stack_fold_pextrd(<4 x i32> %a0) {
;CHECK-LABEL: stack_fold_pextrd
- ;CHECK: pextrd $1, {{%xmm[0-9][0-9]*}}, {{-?[0-9]*}}(%rsp) {{.*#+}} 4-byte Folded Spill
+ ;CHECK: vpextrd $1, {{%xmm[0-9][0-9]*}}, {{-?[0-9]*}}(%rsp) {{.*#+}} 4-byte Folded Spill
;CHECK: movl {{-?[0-9]*}}(%rsp), %eax {{.*#+}} 4-byte Reload
; add forces execution domain
%1 = add <4 x i32> %a0, <i32 1, i32 2, i32 3, i32 4>
@@ -439,7 +439,7 @@ define i32 @stack_fold_pextrd(<4 x i32> %a0) {
define i64 @stack_fold_pextrq(<2 x i64> %a0) {
;CHECK-LABEL: stack_fold_pextrq
- ;CHECK: pextrq $1, {{%xmm[0-9][0-9]*}}, {{-?[0-9]*}}(%rsp) {{.*#+}} 8-byte Folded Spill
+ ;CHECK: vpextrq $1, {{%xmm[0-9][0-9]*}}, {{-?[0-9]*}}(%rsp) {{.*#+}} 8-byte Folded Spill
;CHECK: movq {{-?[0-9]*}}(%rsp), %rax {{.*#+}} 8-byte Reload
%1 = extractelement <2 x i64> %a0, i32 1
%2 = tail call <2 x i64> asm sideeffect "nop", "=x,~{rax},~{rbx},~{rcx},~{rdx},~{rsi},~{rdi},~{rbp},~{r8},~{r9},~{r10},~{r11},~{r12},~{r13},~{r14},~{r15}"()
OpenPOWER on IntegriCloud