summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/divide-by-constant.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/divide-by-constant.ll')
-rw-r--r--llvm/test/CodeGen/X86/divide-by-constant.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/divide-by-constant.ll b/llvm/test/CodeGen/X86/divide-by-constant.ll
index 8e7c13d8efa..9669d97cb7f 100644
--- a/llvm/test/CodeGen/X86/divide-by-constant.ll
+++ b/llvm/test/CodeGen/X86/divide-by-constant.ll
@@ -56,9 +56,9 @@ entry:
%div = sdiv i16 %x, 10
ret i16 %div
; CHECK: test6:
-; CHECK: imull $26215, %eax, %eax
-; CHECK: shrl $31, %ecx
-; CHECK: sarl $18, %eax
+; CHECK: imull $26215, %eax, %ecx
+; CHECK: sarl $18, %ecx
+; CHECK: shrl $15, %eax
}
define i32 @test7(i32 %x) nounwind {
OpenPOWER on IntegriCloud