projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add CodeGen tests for the recent SelectionDAG transforms
[oota-llvm.git]
/
test
/
ExecutionEngine
/
test-constantexpr.ll
1
; RUN: llvm-as -f %s -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