From 419116fb72d613cc141c3521992e556165323e53 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 17 Feb 2007 05:59:01 +0000 Subject: [PATCH] new testcase that crashes llc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34367 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../PowerPC/2007-02-16-InlineAsmNConstraint.ll | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll diff --git a/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll b/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll new file mode 100644 index 00000000000..d91af727d44 --- /dev/null +++ b/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 ) ; [#uses=0] + unreachable +}