[llvm] [Exegesis] CPU selection, when native arch and target mismatch (PR #131014)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 24 02:24:55 PDT 2025
================
@@ -479,6 +480,12 @@ void benchmarkMain() {
#endif
}
+ // case for cross generating, when native arch and target mismatch
+ if ((Triple(sys::getProcessTriple()).getArch() !=
+ Triple(TripleName).getArch()) &&
----------------
AnastasiyaChernikova wrote:
Yes, I really didn't take that into account, thank you. Addressed
https://github.com/llvm/llvm-project/pull/131014
More information about the llvm-commits
mailing list