mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
2f6f860aaa
Approved by Jim Grosbach, Lang Hames, Rafael Espindola. This reinstates commits r215111, 215115, 215116, 215117, 215136. llvm-svn: 216982
13 lines
280 B
LLVM
13 lines
280 B
LLVM
; RUN: %lli %s > /dev/null
|
|
|
|
; This tests to make sure that we can evaluate weird constant expressions
|
|
|
|
@A = global i32 5 ; <i32*> [#uses=1]
|
|
@B = global i32 6 ; <i32*> [#uses=1]
|
|
|
|
define i32 @main() {
|
|
%A = or i1 false, icmp slt (i32* @A, i32* @B) ; <i1> [#uses=0]
|
|
ret i32 0
|
|
}
|
|
|