https://github.com/epiqc/ScaffCC
Raw File
Tip revision: c9bb19c5906c44795fde065e4a9c6b1e92c04968 authored by EPiQC on 06 August 2017, 15:43:30 UTC
Merge branch 'master' of https://github.com/epiqc/ScaffCC
Tip revision: c9bb19c
test-constantexpr.ll
; 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
}

back to top