Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang %s -O0 -emit-llvm -S -o - | FileCheck %s
      2 
      3 void foo();
      4 void bar();
      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 }
     15