diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-10-14 01:04:12 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-10-14 01:04:12 +0000 |
| commit | 84b5eb206c039de3ab0833b65ba88a452390a504 (patch) | |
| tree | 8dd44e50880e31801db5c613825c5cbfe7da40c7 /llvm | |
| parent | 3104d83bdb43ae043ba2f042aa4d4b9372392611 (diff) | |
| download | bcm5719-llvm-84b5eb206c039de3ab0833b65ba88a452390a504.tar.gz bcm5719-llvm-84b5eb206c039de3ab0833b65ba88a452390a504.zip | |
New testcase which the inliner breaks
llvm-svn: 9108
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Regression/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/llvm/test/Regression/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll b/llvm/test/Regression/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll new file mode 100644 index 00000000000..3aa271c7ac9 --- /dev/null +++ b/llvm/test/Regression/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll @@ -0,0 +1,19 @@ +; RUN: llvm-as < %s | opt -inline -disable-output + +implementation ; Functions: + +int %reload() { +reloadentry: + br label %A +A: + call void %callee( ) + ret int 0 +} + +internal void %callee() { +entry: + %X = alloca sbyte, uint 0 + %Y = cast int 0 to uint + %Z = alloca sbyte, uint %Y + ret void +} |

