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