1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll
Dan Gohman 8d84372836 Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this.

llvm-svn: 81226
2009-09-08 16:50:01 +00:00

8 lines
157 B
LLVM

; RUN: opt %s -functionattrs | llvm-dis | not grep read
; PR3754
define i8* @m(i32 %size) {
%tmp = malloc i8, i32 %size ; <i8*> [#uses=1]
ret i8* %tmp
}