Files
clang-p2996/llvm/lib/TargetParser/PPCTargetParser.cpp
Chen Zheng d311edd0ef [PowerPC] fix default cpu setting
for platform that returns nothing for getHostCPUName()
For example for target ARM on windows. For this case, -mcpu=native
should set CPU to the default according to triple instead of setting
CPU to "native"

Fixes https://lab.llvm.org/buildbot/#/builders/161/builds/873 caused by
https://github.com/llvm/llvm-project/pull/97541
2024-07-25 09:55:00 -04:00

3.5 KiB