llvm.org GIT mirror llvm / a813b38 test / CodeGen / AArch64 / asm-large-immediate.ll
a813b38

Tree @a813b38 (Download .tar.gz)

asm-large-immediate.ll @a813b38raw · history · blame

; RUN: llc < %s -mtriple=aarch64-eabi -no-integrated-as | 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
}