summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/asm-large-immediate.ll
blob: 8b6527cb599dc53b17065b0b2751b9a00aaf4368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc < %s | FileCheck %s

; FIXME: Seek around r158932 to r158946.
; XFAIL: powerpc

define void @test() {
entry:
; CHECK: /* result: 68719476738 */
        tail call void asm sideeffect "/* result: ${0:c} */", "i,~{dirflag},~{fpsr},~{flags}"( i64 68719476738 )
; CHECK: /* result: -68719476738 */
        tail call void asm sideeffect "/* result: ${0:n} */", "i,~{dirflag},~{fpsr},~{flags}"( i64 68719476738 )
        ret void
}