From: Tim Northover Date: Tue, 27 May 2014 16:50:03 +0000 (+0000) Subject: AArch64: add AArch64-specific test for 'c' and 'n'. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=be5c8baeb6c66415357fac9ccb3d9701cdfba5b6;p=oota-llvm.git AArch64: add AArch64-specific test for 'c' and 'n'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209664 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/AArch64/asm-large-immediate.ll b/test/CodeGen/AArch64/asm-large-immediate.ll new file mode 100644 index 00000000000..05e4dddc7a7 --- /dev/null +++ b/test/CodeGen/AArch64/asm-large-immediate.ll @@ -0,0 +1,10 @@ +; RUN: llc -march=aarch64 -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 +}