llvm-project
44fd26c5 - [PGOProfile] Use .proftext in test to avoid binary blob (#219055)

Commit
11 days ago
[PGOProfile] Use .proftext in test to avoid binary blob (#219055) Use `.proftext` in `thinlto_indirect_call_promotion.ll` to avoid checking in the binary file `thinlto_indirect_call_promotion.profraw` (and `update_thinlto_indirect_call_promotion_inputs.sh` that generates the profile). I ran `llvm-profdata show --text` to convert the `.profdata` file into a `.proftext` file that could be inlined into the test. I actually had to regenerate the `.profraw` file because of a version mismatch. I suspect that the `REQUIRES: zlib` in the test was actually making this test not run at all, because it was failing on my machine before this. Also delete `llvm/test/tools/llvm-profdata/Inputs/thinlto_indirect_call_promotion.profraw` which seems to be completely unused.
Author
Parents
Loading