summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/reduce-trunc-shl.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/reduce-trunc-shl.ll')
-rw-r--r--llvm/test/CodeGen/X86/reduce-trunc-shl.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/reduce-trunc-shl.ll b/llvm/test/CodeGen/X86/reduce-trunc-shl.ll
index 4ca5d6c5705..f237c44102c 100644
--- a/llvm/test/CodeGen/X86/reduce-trunc-shl.ll
+++ b/llvm/test/CodeGen/X86/reduce-trunc-shl.ll
@@ -92,14 +92,14 @@ define void @trunc_shl_32_i32_i64(i32* %out, i64* %in) {
define void @trunc_shl_15_i16_i64(i16* %out, i64* %in) {
; SSE2-LABEL: trunc_shl_15_i16_i64:
; SSE2: # %bb.0:
-; SSE2-NEXT: movzwl (%rsi), %eax
+; SSE2-NEXT: movl (%rsi), %eax
; SSE2-NEXT: shll $15, %eax
; SSE2-NEXT: movw %ax, (%rdi)
; SSE2-NEXT: retq
;
; AVX2-LABEL: trunc_shl_15_i16_i64:
; AVX2: # %bb.0:
-; AVX2-NEXT: movzwl (%rsi), %eax
+; AVX2-NEXT: movl (%rsi), %eax
; AVX2-NEXT: shll $15, %eax
; AVX2-NEXT: movw %ax, (%rdi)
; AVX2-NEXT: retq
OpenPOWER on IntegriCloud