[compiler-rt] [compiler-rt] Add infrastructure for testing cpuid builtins (PR #101927)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 1 22:09:40 PST 2024


phoebewang wrote:

Using OverrideCPUID doesn't look an ideal solution to me. It cannot prevent mistakes from author who wrote both code and test. It also cannot reflect any HW changes or mismatch. I'd like to see run time test from llvm-test-suite. We can leverage SDE to emulate different Intel CPUs, but I don't know how to do with other vendors.

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


More information about the llvm-commits mailing list