aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2006-12-05 17:37:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2006-12-05 17:37:31 +0000
commit462af9a2e0e3667bc35203be2d14086bf14f0a02 (patch)
treeb8ba0a1dc66a5d0ba67251a70ab2f2e8b9eeecee /test/CodeGen/ARM
parentaf21f4f6f9d6ef5085d927900a2aae364444d64e (diff)
downloadexternal_llvm-462af9a2e0e3667bc35203be2d14086bf14f0a02.zip
external_llvm-462af9a2e0e3667bc35203be2d14086bf14f0a02.tar.gz
external_llvm-462af9a2e0e3667bc35203be2d14086bf14f0a02.tar.bz2
add support for the "r" asm constraint
patch by Lauro Ramos Venancio git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/arm-asm.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/arm-asm.ll b/test/CodeGen/ARM/arm-asm.ll
new file mode 100644
index 0000000..46c57db
--- /dev/null
+++ b/test/CodeGen/ARM/arm-asm.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc -march=arm
+
+void %frame_dummy() {
+entry:
+ %tmp1 = tail call void (sbyte*)* (void (sbyte*)*)* asm "", "=r,0,~{dirflag},~{fpsr},~{flags}"( void (sbyte*)* null )
+ ret void
+}