summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/extract-insert.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/extract-insert.ll')
-rw-r--r--llvm/test/CodeGen/X86/extract-insert.ll9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/extract-insert.ll b/llvm/test/CodeGen/X86/extract-insert.ll
index 2393e32ebf6..be5f9ed24fb 100644
--- a/llvm/test/CodeGen/X86/extract-insert.ll
+++ b/llvm/test/CodeGen/X86/extract-insert.ll
@@ -68,8 +68,8 @@ define i32 @trunc_i64_to_i32_le(i64 %x) {
;
; X64-LABEL: trunc_i64_to_i32_le:
; X64: # %bb.0:
-; X64-NEXT: movq %rdi, %xmm0
-; X64-NEXT: movd %xmm0, %eax
+; X64-NEXT: movq %rdi, %rax
+; X64-NEXT: # kill: def $eax killed $eax killed $rax
; X64-NEXT: retq
%ins = insertelement <2 x i64> undef, i64 %x, i32 0
%bc = bitcast <2 x i64> %ins to <4 x i32>
@@ -86,9 +86,8 @@ define i16 @trunc_i64_to_i16_le(i64 %x) {
;
; X64-LABEL: trunc_i64_to_i16_le:
; X64: # %bb.0:
-; X64-NEXT: movq %rdi, %xmm0
-; X64-NEXT: movd %xmm0, %eax
-; X64-NEXT: # kill: def $ax killed $ax killed $eax
+; X64-NEXT: movq %rdi, %rax
+; X64-NEXT: # kill: def $ax killed $ax killed $rax
; X64-NEXT: retq
%ins = insertelement <2 x i64> undef, i64 %x, i32 0
%bc = bitcast <2 x i64> %ins to <8 x i16>
OpenPOWER on IntegriCloud