Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,
[oota-llvm.git] / test / Transforms / InstCombine / malloc-free-delete.ll
1 ; RUN: opt < %s -instcombine -globaldce -S | FileCheck %s
2 ; PR1201
3 define i32 @main(i32 %argc, i8** %argv) {
4         %c_19 = alloca i8*              ; <i8**> [#uses=2]
5         %malloc_206 = malloc i8, i32 10         ; <i8*> [#uses=1]
6 ; CHECK-NOT: malloc
7         store i8* %malloc_206, i8** %c_19
8         %tmp_207 = load i8** %c_19              ; <i8*> [#uses=1]
9         free i8* %tmp_207
10 ; CHECK-NOT: free
11         ret i32 0
12 ; CHECK: ret i32 0
13 }