[llvm] [memprof] Add YAML read/write support to llvm-profdata (PR #118915)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 07:48:12 PST 2024


teresajohnson wrote:

> Do you have a sense for approximately how many existing test cases would be simplified by adding this support? Or is this meant to support tests to be added in the future?

All of the tests that currently have a ".memprofraw" input file, where there are companion update scripts in the test directories as they need to be manually updated when there are changes or new tests added. This is a fairly new profile type within LLVM, which @kazutakahirata is bringing up to par with other profile types that support textual input. This will greatly ease the addition of future tests as well.

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


More information about the llvm-commits mailing list