diff options
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll')
| -rw-r--r-- | llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll b/llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll index 26a778be841..542b233770c 100644 --- a/llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll +++ b/llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll @@ -316,3 +316,8 @@ define void @test14() {    ; CHECK: tail call void @free(i8* noalias %1)    ret void  } + +define void @test15(i64 %S) { +  %1 = tail call noalias i8* @malloc(i64 %S) +  ret void +}  | 

