repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Inliner pass header file was moved.
[llvm-complete.git]
/
test
/
ExecutionEngine
/
test-constantexpr.ll
blob
1ee7e148e9c20b0b557cbe789250eea496b87dcc
1
; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
2
; RUN: lli %t.bc > /dev/null
3
4
; This tests to make sure that we can evaluate weird constant expressions
5
%A = global int 5
6
%B = global int 6
7
8
implementation
9
10
int %main() {
11
%A = or bool false, setlt (int* %A, int* %B) ; Which is lower in memory?
12
ret int 0
13
}
14