projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.
[oota-llvm.git]
/
test
/
Transforms
/
ConstProp
/
2002-05-03-DivideByZeroException.ll
1
; Make sure that the constant propogator doesn't divide by zero!
2
;
3
; RUN: llvm-as < %s | opt -constprop
4
;
5
6
int "test"() {
7
%R = div int 12, 0
8
ret int %R
9
}
10
11
int "test2"() {
12
%R = rem int 12, 0
13
ret int %R
14
}