diff options
Diffstat (limited to 'test/ExecutionEngine/2003-08-15-AllocaAssertion.ll')
-rw-r--r-- | test/ExecutionEngine/2003-08-15-AllocaAssertion.ll | 9 |
1 files changed, 9 insertions, 0 deletions
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 +} |