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

2016-03-31 Thread Betul Buyukkurt via cfe-commits
betulb added a comment. Committed as r265037. Repository: rL LLVM http://reviews.llvm.org/D18636 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2016-03-31 Thread Betul Buyukkurt via cfe-commits
betulb removed rL LLVM as the repository for this revision. betulb updated this revision to Diff 52249. betulb added a comment. Addressed review comments. http://reviews.llvm.org/D18636 Files: lib/CodeGen/CodeGenPGO.cpp test/Profile/c-avoid-direct-call.c Index: test/Profile/c-avoid-direct-

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

2016-03-31 Thread Justin Bogner via cfe-commits
Betul Buyukkurt writes: > betulb created this revision. > betulb added reviewers: davidxl, bogner. > betulb added subscribers: llvm-commits, cfe-commits. > betulb set the repository for this revision to rL LLVM. > betulb changed the visibility of this Differential Revision from > "Public (No Login

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

2016-03-31 Thread Betul Buyukkurt via cfe-commits
betulb added inline comments. Comment at: lib/CodeGen/CodeGenPGO.cpp:758 @@ -757,1 +757,3 @@ + if (dyn_cast(ValuePtr)) +return; davidxl wrote: > Is it the bitcast guaranteed to be already stripped here? No. ConstantExpr is derived from the Constant class. A

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

2016-03-30 Thread David Li via cfe-commits
davidxl added inline comments. Comment at: lib/CodeGen/CodeGenPGO.cpp:758 @@ -757,1 +757,3 @@ + if (dyn_cast(ValuePtr)) +return; Is it the bitcast guaranteed to be already stripped here? Repository: rL LLVM http://reviews.llvm.org/D18636 ___

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

2016-03-30 Thread Betul Buyukkurt via cfe-commits
betulb created this revision. betulb added reviewers: davidxl, bogner. betulb added subscribers: llvm-commits, cfe-commits. betulb set the repository for this revision to rL LLVM. betulb changed the visibility of this Differential Revision from "Public (No Login Required)" to "All Users". Value p