projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a missing shuffle pattern, PR9009. Patch by Artiom Myaskouvskey!
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
divide-by-constant.ll
diff --git
a/test/CodeGen/X86/divide-by-constant.ll
b/test/CodeGen/X86/divide-by-constant.ll
index ab3bd9414957210c92c60948c98f0f477c5a3e20..545662fd0ffc82f4acf97ac5cd52f4a33ddf1bbd 100644
(file)
--- a/
test/CodeGen/X86/divide-by-constant.ll
+++ b/
test/CodeGen/X86/divide-by-constant.ll
@@
-29,9
+29,9
@@
entry:
ret i8 %div
; CHECK: test3:
-; CHECK:
imull $171, %eax
, %eax
-; CHECK-NEXT:
shrb %ah
-; CHECK-NEXT:
movzbl %ah
, %eax
+; CHECK:
movzbl 8(%esp)
, %eax
+; CHECK-NEXT:
imull $171, %eax, %eax
+; CHECK-NEXT:
shrl $9
, %eax
; CHECK-NEXT: ret
}