summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-17 05:59:01 +0000
committerChris Lattner <sabre@nondot.org>2007-02-17 05:59:01 +0000
commitbc9111e290be1c7df82e06b01ad77fb5c7d3977f (patch)
tree0b0ebd69d4fadb859129d58205774ac92c7e9019
parent6d6d70ba180ca9f3f847de92ff43c7bdcc0600a6 (diff)
downloadbcm5719-llvm-bc9111e290be1c7df82e06b01ad77fb5c7d3977f.tar.gz
bcm5719-llvm-bc9111e290be1c7df82e06b01ad77fb5c7d3977f.zip
new testcase that crashes llc
llvm-svn: 34367
-rw-r--r--llvm/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll b/llvm/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll
new file mode 100644
index 00000000000..d91af727d44
--- /dev/null
+++ b/llvm/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll
@@ -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
+}
OpenPOWER on IntegriCloud