1 ; RUN: opt < %s -instcombine -S | FileCheck %s
3 define i32 @main(i32 %argc, i8** %argv) {
5 %malloc_206 = malloc i8, i32 10
7 store i8* %malloc_206, i8** %c_19
8 %tmp_207 = load i8** %c_19
15 declare i8* @malloc(i32)
16 declare void @free(i8*)
20 ; CHECK-NEXT: ret i1 false
21 %m = call i8* @malloc(i32 1)
22 %z = icmp eq i8* %m, null
23 call void @free(i8* %m)