repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git]
/
test
/
ExecutionEngine
/
test-constantexpr.ll
blob
d6d90e3e1982c1438763f4b44ce5e5467eb5f997
1
; RUN: lli %s > /dev/null
2
3
; This tests to make sure that we can evaluate weird constant expressions
4
5
@A = global i32 5 ; <i32*> [#uses=1]
6
@B = global i32 6 ; <i32*> [#uses=1]
7
8
define i32 @main() {
9
%A = or i1 false, icmp slt (i32* @A, i32* @B) ; <i1> [#uses=0]
10
ret i32 0
11
}
12