diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-11-02 01:26:22 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-11-02 01:26:22 +0000 |
commit | 9df7dc52e8fd5c69a5d6464d02b7496091e18c29 (patch) | |
tree | 061a330f75dffdb636fd373bf17f4167c658ea6f /test/CodeGen/X86/2007-11-01-ISelCrash.ll | |
parent | 43a4b28e94598ea8accd7a97f8e1b5902731f340 (diff) | |
download | llvm-9df7dc52e8fd5c69a5d6464d02b7496091e18c29.tar.gz llvm-9df7dc52e8fd5c69a5d6464d02b7496091e18c29.tar.bz2 llvm-9df7dc52e8fd5c69a5d6464d02b7496091e18c29.tar.xz |
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/X86/2007-11-01-ISelCrash.ll')
-rw-r--r-- | test/CodeGen/X86/2007-11-01-ISelCrash.ll | 10 |
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 0000000000..8994bf9981 --- /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 +} |