projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Relax dwarf line fragments. This fixes a crash in the included testcase.
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
div-neg-power-2.ll
diff --git
a/test/CodeGen/Generic/div-neg-power-2.ll
b/test/CodeGen/Generic/div-neg-power-2.ll
index 76d6182931cc31eeb0c3d7115915fee0917a4b9e..246cd033e27981c7bcb31494217ce1a4a22fd11a 100644
(file)
--- a/
test/CodeGen/Generic/div-neg-power-2.ll
+++ b/
test/CodeGen/Generic/div-neg-power-2.ll
@@
-1,6
+1,7
@@
-; RUN: ll
vm-as < %s | llc
+; RUN: ll
c < %s
-
int %test(int
%X) {
- %Y = div int %X, -2
-
ret int
%Y
+
define i32 @test(i32
%X) {
+ %Y = sdiv i32 %X, -2 ; <i32> [#uses=1]
+
ret i32
%Y
}
+