From f2d4916dc71d3c2ee8476efc41240fa486c0cdbb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 15 Aug 2003 22:36:55 +0000 Subject: New testcase identified by misha, distilled from the 'ls' program git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7909 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ExecutionEngine/2003-08-15-AllocaAssertion.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/ExecutionEngine/2003-08-15-AllocaAssertion.ll (limited to 'test/ExecutionEngine') diff --git a/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll b/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll new file mode 100644 index 0000000..35248d1 --- /dev/null +++ b/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll @@ -0,0 +1,9 @@ +; This testcase failed to work because two variable sized allocas confused the +; local register allocator. + +int %main(uint %X) { + %A = alloca uint, uint %X + + %B = alloca float, uint %X + ret int 0 +} -- cgit v1.1