[PATCH] D8940: Clang changes for indirect call target profiling

Betul Buyukkurt via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 21 10:05:46 PST 2016


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





More information about the cfe-commits mailing list