[PATCH] D18636: [PGO] Avoid instrumenting constants at value sites

David Li via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 23:12:32 PDT 2016


davidxl added inline comments.

================
Comment at: lib/CodeGen/CodeGenPGO.cpp:758
@@ -757,1 +757,3 @@
 
+  if (dyn_cast<llvm::Constant>(ValuePtr))
+    return;
----------------
Is it the bitcast guaranteed to be already stripped here?


Repository:
  rL LLVM

http://reviews.llvm.org/D18636





More information about the llvm-commits mailing list