betulb marked 3 inline comments as done. ================ Comment at: lib/CodeGen/CodeGenPGO.cpp:768 @@ +767,3 @@ + }; + Builder.CreateCall( + CGM.getIntrinsic(llvm::Intrinsic::instrprof_value_profile), Args); ---------------- I removed the if check instead. It was not needed since the later lines do check on the presence of the instrumentation flags and the reader. However the old check was correct as is.
http://reviews.llvm.org/D8940 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits