aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-15 01:13:42 +0000
committerChris Lattner <sabre@nondot.org>2007-05-15 01:13:42 +0000
commit4b2e7acd6a9bb70774321146ec94d43db6b430a9 (patch)
treeb3ba4d45c8056efe2c32c8ae38133f9b0385d7a1 /test
parent289f61709feb68bd28043069f1bf9ed1a060f90d (diff)
downloadexternal_llvm-4b2e7acd6a9bb70774321146ec94d43db6b430a9.zip
external_llvm-4b2e7acd6a9bb70774321146ec94d43db6b430a9.tar.gz
external_llvm-4b2e7acd6a9bb70774321146ec94d43db6b430a9.tar.bz2
testcase that crashes llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll b/test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll
new file mode 100644
index 0000000..58c5f89
--- /dev/null
+++ b/test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=arm -mattr=+v6
+
+define i32 @test3() {
+ tail call void asm sideeffect "/* number: ${0:c} */", "i"( i32 1 )
+ ret i32 11
+}