aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/asm-large-immediate.ll
blob: c75b9e4ad12be4d00fc727c4fa71b79b5f9f6bcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc -march=mipsel -no-integrated-as < %s | FileCheck %s

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
}