aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-11-02 01:26:22 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-11-02 01:26:22 +0000
commite7a8739e07086f97d07a3a1c8532a7aeaf68d1aa (patch)
tree061a330f75dffdb636fd373bf17f4167c658ea6f /test/CodeGen
parent5b0029f39a2a8f872ffcca4aadfd2a8983dab7cd (diff)
downloadexternal_llvm-e7a8739e07086f97d07a3a1c8532a7aeaf68d1aa.zip
external_llvm-e7a8739e07086f97d07a3a1c8532a7aeaf68d1aa.tar.gz
external_llvm-e7a8739e07086f97d07a3a1c8532a7aeaf68d1aa.tar.bz2
Missing a getNumOperands check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/2007-11-01-ISelCrash.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2007-11-01-ISelCrash.ll b/test/CodeGen/X86/2007-11-01-ISelCrash.ll
new file mode 100644
index 0000000..8994bf9
--- /dev/null
+++ b/test/CodeGen/X86/2007-11-01-ISelCrash.ll
@@ -0,0 +1,10 @@
+ %"struct.K::JL" = type <{ i8 }>
+ %struct.jv = type { i64 }
+
+declare fastcc i64 @f(i32, %"struct.K::JL"*, i8*, i8*, %struct.jv*)
+
+define void @t(%"struct.K::JL"* %obj, i8* %name, i8* %sig, %struct.jv* %args) {
+entry:
+ %tmp5 = tail call fastcc i64 @f( i32 1, %"struct.K::JL"* %obj, i8* %name, i8* %sig, %struct.jv* %args ) ; <i64> [#uses=0]
+ ret void
+}