User Details
- User Since
- Nov 16 2012, 6:02 PM (539 w, 4 d)
Sep 4 2020
Jul 29 2020
We cannot remove the second load, because nothing guarantees that %x did not escape before calling the function. The new attribute provides exactly this guarantee, allowing us to remove the second load.
Jul 27 2020
LGTM. Thank you.
Jul 23 2020
Thanks for working on this. Please, however, take another pass of the test cases (especially those that are not in the PowerPC directory). Many of those should not be deleted, please change triple instead. They're testing general functionality.
Jul 14 2020
LGTM
LGTM
Jul 13 2020
Jul 12 2020
It's great that you're working on this. It's very important that we allow people to write code, structured and decomposed in a way that makes sense from an engineering and maintenance perspective, and have the compiler combine things later to avoid unnecessary overhead. This is just as much true for expressions of parallelism as it is for other aspects of the code.
Jul 11 2020
LGTM
Jul 10 2020
LGTM
Jul 9 2020
Given that compile time looks okay (and it's clearly doing something, as its causing more simplification (or, at least, fewer instructions)), as does correctness, this LGTM. If we notice any significant performance problems, we can revert (but given that we're relatively close to branching, we should commit this sooner rather than later to give the maximum opportunity to spot such things).
Jul 8 2020
Jul 2 2020
LGTM
Jul 1 2020
Is getUserCost a better name than getInstructionCost? I wonder if we're moving in the wrong direction.
Jun 26 2020
Jun 25 2020
Jun 24 2020
Jun 20 2020
LGTM too.
Jun 18 2020
Jun 16 2020
Jun 12 2020
Jun 1 2020
I haven't seen a reason articulated as to why this change shouldn't be made that doesn't apply to the project as a whole;
An another thought: we might have a separate cmake flag to transform DIE -> unreachable, or some form of DIE into unreachable, so that we can test the performance difference easily going forward.
One more thought: We might split this into two patches. First, make the strings more informative. Then a patch for llvm_unreachable on top of that.
May 30 2020
May 26 2020
LGTM
I feel like there are a number of conflated issues here.
May 19 2020
May 6 2020
LGTM.
I don't think it is preferable to say the copy happens in the callee because the user could reasonably write something like this: https://godbolt.org/z/8vxz7P and we would need to resolve the discrepancy between the pure attribute and the byval passing in Clang.
Apr 29 2020
This LGTM for consistency. Also, it reminds me that it's probably time for an RFC to remove QPX support in general.
Apr 13 2020
LGTM
Apr 12 2020
LGTM
Is it difficult to create a test case for this?
LGTM
Mar 27 2020
I don't object to doing this, but...
Mar 26 2020
LGTM
Mar 25 2020
Mar 24 2020
Mar 6 2020
Mar 4 2020
Update formatting, etc., and add a reference in the new-contributor section of the dev policy in response to reviewer feedback.
Feb 29 2020
Updated to remove blank line and fix that (1 < N < M) should be (1 <= N <= M).
Feb 28 2020
Updated per review feedback. Please let me know if you see anything else that should be addressed pre-commit.
I would like to thank everyone who provided feedback on this patch. I apologize for the slow turn-around time on this. I'll upload a revised version that, I believe, addresses all feedback.
Feb 27 2020
Unfortunately, we cannot do this kind of thing just because it seems to make sense. The language semantics must be exactly satisfied by the IR-level semantics. I certainly agree that it would make sense for users to be able to mark invariant loads, but this mechanism simply might not be the right one.
Feb 19 2020
Feb 18 2020
Feb 11 2020
LGTM
Feb 7 2020
LGTM
Feb 4 2020
LGTM
Jan 31 2020
LGTM
Jan 27 2020
Jan 24 2020
Jan 21 2020
LGTM
Jan 20 2020
I'm not sure whether this is deliberate (but it seems weird) or just a bug. I can ask the GCC developers ...
Jan 19 2020
Can we, at least, put this constant in a header file so we don't repeat it in several places? Also, can we write it as 0x20000000 so that it's more obvious what the value is.
Jan 13 2020
Jan 8 2020
I like this general idea; couple of thoughts...
Jan 5 2020
Dec 31 2019
LGTM
Dec 30 2019
Do you expect any effect at all from doing this? These are all scheduling barriers?