User Details
- User Since
- Aug 26 2015, 2:20 PM (405 w, 3 d)
Nov 19 2018
Sep 14 2018
Sep 10 2018
Sep 6 2018
Aug 7 2018
Jun 8 2018
This is great stuff!
May 10 2018
Apr 30 2018
Apr 16 2018
Apr 15 2018
Thanks for the fix!
Mar 6 2018
Just to confirm, this only applies to text format. Binary format should not have this problem, right?
Dec 22 2017
The change makes sense to me. It should not affect SamplePGO as terminator instructions is not used in profile annotation.
Dec 15 2017
LGTM, I'm curious what is the code size impact on PGO binaries (I'd expect it to reduce code size significantly)
Dec 4 2017
The patch LGTM. Notes about SamplePGO use cases below, which may be addressed by separate patch/discussion, if necessary.
Nov 10 2017
Thanks for the fix.
Nov 6 2017
Nov 1 2017
update
update
If the indirect calls along this chain were promoted and then inlined into foo in the profiled binary, we cannot do the promotion/inlining of the call back to A.c:baz() during the compile step since it is intra-module, but we need to be able to annotate the call somewhere. And apparently we can't do this on the VP metadata for the indirect call in B.c:bar() since it was inlined into foo() in the profiled binary (Dehao - is that correct?).
That's correct
Oct 31 2017
Oct 26 2017
Oct 10 2017
extract the change that update the SUM of VP.
Oct 9 2017
update comment
Oct 6 2017
rebase
update comments
Thanks.
Oct 5 2017
rebase
Oct 3 2017
update comment
update comment
Oct 2 2017
update comments
Sep 30 2017
update
rebase and address Teresa's comments
Sep 29 2017
Adrian, please let me know if you have further concerns about this patch.
I see your point now. My concern is performance: if we allow hoisting of atomic load, but not allow sinking it, we may end up with bad performance as we may have too much redundant atomic loads in the preheader. Any suggestions on how to solve that?
In the following example:
How about the following case:
Is it legal to hoist an atomic load out of the loop?
Sep 20 2017
refactor
LGTM, Thanks!
Sep 19 2017
update
update
Sep 18 2017
update
Sep 15 2017
update the API
Sep 14 2017
update test
fix the msan uninitialized memory access error.
Sep 13 2017
update
rebase
Sep 12 2017
Thanks for fixing this!
update
update
Sep 5 2017
Thanks for raising the issue.
Sep 3 2017
The change looks good to me. But the test is quite large and hard to understand. I don't think it's necessary to have the test generated from a source file, just forge a test with discriminator attached to line 0, and then checks if discriminators is omitted in the generated code. I guess it should suffice with < 20 LOC
Aug 29 2017
The sorting is not a concern as it's only called once perf function, and the list should not be large.
Aug 28 2017
update