Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -triple x86_64-darwin-apple -g -emit-llvm -o - %s | FileCheck %s
      2 // Radar 9199234
      3 
      4 int bar();
      5 int foo(int i) {
      6 	int j = 0;
      7 	if (i) {
      8 		j = bar();
      9 	}
     10 	else
     11 	{
     12           // CHECK: add nsw
     13           // CHECK-NEXT: store i32 %{{[a-zA-Z0-9]+}}
     14           // CHECK-NOT:  br label %{{[a-zA-Z0-9\.]+}}, !dbg
     15 		j = bar() + 2;
     16 	}
     17 	return j;
     18 }
     19