From d12245a6d54ad38299756ff5d33ec3ef6d89bb99 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 3 Oct 2006 17:17:54 +0000 Subject: testcase for PR933 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30702 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2006-10-02-BoolRetCrash.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/X86/2006-10-02-BoolRetCrash.ll (limited to 'test/CodeGen/X86/2006-10-02-BoolRetCrash.ll') diff --git a/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll b/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll new file mode 100644 index 0000000000..d7571d8919 --- /dev/null +++ b/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc && +; RUN: llvm-as < %s | llc -enable-x86-fastcc +; PR933 + +fastcc bool %test() { + ret bool true +} -- cgit v1.2.3