summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-12-15 06:04:19 +0000
committerChris Lattner <sabre@nondot.org>2010-12-15 06:04:19 +0000
commit33e77d3cb98de64b8657c011b549bdb54abf73fc (patch)
tree98c76f5b27d210030e0ce7e9c560f157cf3215f6 /test
parent2ff28e4b9e151831890c2086cf2aed2ec9b94eb0 (diff)
downloadllvm-33e77d3cb98de64b8657c011b549bdb54abf73fc.tar.gz
llvm-33e77d3cb98de64b8657c011b549bdb54abf73fc.tar.bz2
llvm-33e77d3cb98de64b8657c011b549bdb54abf73fc.tar.xz
take care of some todos, transforming [us]mul_lohi into
a wider mul if the wider mul is legal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/divide-by-constant.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/X86/divide-by-constant.ll b/test/CodeGen/X86/divide-by-constant.ll
index d71485577b..ab3bd94149 100644
--- a/test/CodeGen/X86/divide-by-constant.ll
+++ b/test/CodeGen/X86/divide-by-constant.ll
@@ -40,6 +40,7 @@ entry:
%div = sdiv i16 %x, 33 ; <i32> [#uses=1]
ret i16 %div
; CHECK: test4:
+; CHECK: imull $-1985, %ecx, %ecx
}
define i32 @test5(i32 %A) nounwind {