User Details
- User Since
- Jun 14 2018, 5:51 PM (250 w, 3 h)
Yesterday
Rebase
Wed, Mar 22
Hi @MaskRay do you have any more concerns?
Tue, Mar 14
Bail if the function has >1.5K blocks.
Wed, Mar 1
Use flood-fill algorithm to infer block coverage and rename some compiler-rt tests.
Jan 30 2023
Just did another quick pass of this diff and I'll take a look at the other diffs soon.
Jan 20 2023
Rebase, use the std::optional() API, and initialize region counters for cover instructions as well as increment instructions.
Jan 18 2023
Jan 12 2023
Ah, I see the dyn_cast you are talking about is here. I think this is only a problem if InstrProfIncrementInstStep is the only InstrProf instruction in a function and it has an llvm.instrprof.value.profile instruction, which explains why we didn't catch this bug for so long. In that case, the later call to getOrCreateRegionCounters() will be skipped and, according to the comment, this is required for value profiling. Is that what you observed? If so it should be easy to add a small test case, probably similar to llvm/test/Instrumentation/InstrProfiling/early-exit.ll, but this could be followed up in another patch. Thanks for fixing!
Dec 12 2022
Rebase.
Dec 9 2022
Nov 30 2022
Nov 29 2022
Please correct me if I'm wrong, but my understanding is that we have a single bitvector per expression (or function?) to track coverage. And that these bitvectors are at most 64 bits long. Is the number of these bitvectors per function known at compile time? I think yes because you are allocating the IPSK_bitmap section at compile time.
Nov 14 2022
Seems good to me! I just have some minor nits.
Rebase.
Nov 11 2022
Nov 4 2022
Seems fine to me!
Oct 26 2022
Oct 25 2022
Oct 24 2022
Oct 17 2022
Friendly ping :)
Oct 13 2022
Oct 10 2022
Can we get another review of this? CC @MaskRay
Rebase and add comment discussing the runtime.
Oct 7 2022
Rename OFormat to SFormat.
Sorry, forgot to run clang-format
Rebase
Rebase
Oct 6 2022
I decided to just stick with --output-format=<json|yaml> and removed changes to the --text option to make things cleaner.
Rebase.
Don't add text and text-encoding to output-format type.
Oct 5 2022
Remove extra {{ }} in tests
fix whitespace
Oct 4 2022
Move test to DebugInfo/Generic and add checks to verify dwarfdump output.
Oct 3 2022
Add the "Probes" key to Yaml output so that we can add more keys in the future. Also add D135127 as a parent diff to use the --output-format=yaml option.
I like the idea of --output-format=yaml since it easily allows us to preserve the original behavior. I'll add this in another diff and update this.
Sep 29 2022
Sep 27 2022
Sep 13 2022
Add link to paper
Fix warning with Optional<BlockCoverageInference>
Rebase
Aug 29 2022
Aug 27 2022
Aug 24 2022
Oops, this actually breaks a test and I need to think about this more. Closing.