☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
branch-on-bool.c
☽
☼
clang/test/CodeGen/branch-on-bool.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang %s -O0 -emit-llvm -S -o - | FileCheck %s
2
3
void foo(void);
4
void bar(void);
5
6
void fold_if(int a, int b) {
7
// CHECK: define {{.*}} @fold_if(
8
// CHECK-NOT: = phi
9
// CHECK: }
10
if (a && b)
11
foo();
12
else
13
bar();
14
}