[llvm] [llvm-mca] Add bottle-neck analysis to JSON output. (PR #90056)

Andrea Di Biagio via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 09:55:04 PDT 2024


adibiagio wrote:

I was able to reproduce those same failures on my linux machine.

Please make sure to run all mca lit tests after every change.

In this case, tests needs to be re-generated. You can easily regenerate those files by using the `update_mca_test_checks.py` script found in llvm/utils/.

For example, on my machine I was running the following command:
```
> ~/llvm-project/llvm/utils/update_mca_test_checks.py --llvm-mca-binary ~/llvm-project/debug-build/bin/llvm-mca ~/llvm-project/llvm/test/tools/llvm-mca/JSON/X86/*.s
```

You need to specify the location of your llvm-mca binary, and which files to update.

I hope it helps
-Andrea

https://github.com/llvm/llvm-project/pull/90056


More information about the llvm-commits mailing list