Add support for __builtin_expect which is needed for assert,
among other things.
Also change a codegen warning to dump to stderr so it doesn't
mess with -emit-llvm output
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44497 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CGStmt.cpp b/CodeGen/CGStmt.cpp
index 9059a83..b010e81 100644
--- a/CodeGen/CGStmt.cpp
+++ b/CodeGen/CGStmt.cpp
@@ -38,7 +38,7 @@
else
EmitAggExpr(E, 0, false);
} else {
- printf("Unimplemented stmt!\n");
+ fprintf(stderr, "Unimplemented stmt!\n");
S->dump(getContext().SourceMgr);
}
break;