1*f4a2713aSLionel Sambuc // RUN: %clang %s -O0 -emit-llvm -S -o - | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc void foo(); 4*f4a2713aSLionel Sambuc void bar(); 5*f4a2713aSLionel Sambuc fold_if(int a,int b)6*f4a2713aSLionel Sambucvoid fold_if(int a, int b) { 7*f4a2713aSLionel Sambuc // CHECK: define {{.*}} @fold_if( 8*f4a2713aSLionel Sambuc // CHECK-NOT: = phi 9*f4a2713aSLionel Sambuc // CHECK: } 10*f4a2713aSLionel Sambuc if (a && b) 11*f4a2713aSLionel Sambuc foo(); 12*f4a2713aSLionel Sambuc else 13*f4a2713aSLionel Sambuc bar(); 14*f4a2713aSLionel Sambuc } 15