new testcase that crashes llc
authorChris Lattner <sabre@nondot.org>
Sat, 17 Feb 2007 05:59:01 +0000 (05:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 17 Feb 2007 05:59:01 +0000 (05:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34367 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll [new file with mode: 0644]

diff --git a/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll b/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll
new file mode 100644 (file)
index 0000000..d91af72
--- /dev/null
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | llc
+
+target datalayout = "E-p:32:32"
+target triple = "powerpc-apple-darwin8.8.0"
+
+implementation   ; Functions:
+
+define void @blargh() {
+entry:
+       %tmp4 = call i32 asm "rlwimi $0,$2,$3,$4,$5", "=r,0,r,n,n,n"( i32 0, i32 0, i32 0, i32 24, i32 31 )             ; <i32> [#uses=0]
+       unreachable
+}