User Details
- User Since
- Sep 30 2013, 11:56 PM (520 w, 2 d)
May 12 2023
@CarlosAlbertoEnciso should review this ideally for approving, but I'm just nitpicking on a long line.
Feb 17 2023
Thanks all for taking a look! I haven't had a chance to get back to this yet due to other work landing on my plate, but I intend to revisit this and implement the requested changes ASAP.
Feb 7 2023
Mar 9 2021
Feb 17 2021
Feb 16 2021
Feb 26 2020
Jan 7 2020
Oct 31 2019
(quoting Jeremy's on-list reply)
Oct 29 2019
Oct 27 2019
Oct 10 2019
Aug 15 2019
I've not tested, but it seems reasonable. The only other "#pragma warning" I came across (in the neighbouring llvm/unittests/Support/AlignOfTest.cpp) doesn't bother with a push/pop and just disables the warnings at file scope. I'm not sure if there's any reason to push/pop across the entire file unless we think we might want to ever include this cpp file inside another one?
Jul 29 2019
Jul 15 2019
I've tried the latest update and it seems to work well for me. The only suggestion I'd make at this stage is adding a message like (did you mean --check-prefixes?) to the end of the warning if a comma is spotted in the prefix string.
May 8 2019
Apr 18 2019
Mar 21 2019
Mar 5 2019
Mar 1 2019
Dec 12 2018
LGTM with one minor nit.
Dec 5 2018
LGTM.
Nov 7 2018
Oct 29 2018
Oct 23 2018
Oct 18 2018
Oct 12 2018
Oh drat. Well, I guess maybe this does manage to fall into the area of undefined behaviour then. Weirdly, that didn't happen on my local system, although I did see something similar when setting the PreferredToolArchitecture environment variable for the environment that CMake spawns in, but not in the global environment when running the VS IDE (CMAKE_C[XX]_COMPILER would not match the actual compiler being invoked). Thanks for taking a look anyway!
Oct 10 2018
Another iteration :)
I find the CMake documentation very unclear here. On the related page for https://cmake.org/cmake/help/latest/variable/CMAKE_GENERATOR_TOOLSET.html it says:
Oct 4 2018
Oct 3 2018
Thanks both for reviewing. Given that it appears that there doesn't, as I'd worried, appear to be some special hidden use-case for bash as an external shell on Windows, but is more of a historical artifact, I'm going to propose an alternative approach. To keep the code all in the same review, and as it's in a completely separate file, I've just added it to this review in the same patch instead. To be clear, I'm talking about committing only one of these files, not both.
Sep 28 2018
Sep 26 2018
Rebase on top of D52560 which improves the block analysis significantly.
I've chatted with @andreadb and @RKSimon offline a bit. It would be nice to try and avoid some of the obviously duplicated blocks in the tests. For example, the added blocks in option-all-stats-1.s above. That's not actually an issue related to this specific patch, and the generated tests are still valid, but sometimes look a bit messy.
Sep 25 2018
Rebased.
Aug 17 2018
Aug 2 2018
Jul 18 2018
Modulo my nit above about the error message text, this LGTM.
Jul 17 2018
Jul 13 2018
Thanks for working on this! I've not reviewed the code, but I did try applying the patch and making use of it, and it seems to work perfectly so far for my use-case of being able to automatically enable automatic debugify checking over large codebases in build systems that I don't necessarily have control of :)
Jul 9 2018
Jul 6 2018
This is really nice. I agree it will be really useful, albeit with a minor concern about false positives in the stats themselves due to DCE transforms like what we ran into in https://llvm.org/PR37942 .
Jun 22 2018
This change would be really really useful for addressing http://llvm.org/PR37871 so I'd like to have this.
Jun 19 2018
Forgot to add llvm-commits
Jun 18 2018
Jun 15 2018
Jun 6 2018
Jun 5 2018
Jun 4 2018
LGTM. Thanks!
Thanks for the patch! Annoying that my git client never complained about this one to me.
Jun 1 2018
LGTM too :)
May 29 2018
May 24 2018
minor update to formatting to get rid of blank lines around single check lines.
May 17 2018
May 10 2018
Apr 25 2018
Apr 23 2018
Delayed ping. Apologies for the delay. I started paternity leave shortly after starting this review, and never got a chance to come back to it until now.
Apr 20 2018
Apr 19 2018
What's the more general plan for regression testing exegesis? It looks like the issue with pfm failing to match counters was a regression introduced by rL329675 due to the trailing commas. It would be nice to be able to have regression tests for this sort of thing, especially as it's under active development so the churn is likely to be quite high along with the risk of introducing regressions. I know it gets complicated due to the libpfm dependency and the fact it's CPU specific, but it should still be a solvable problem.