This is a support change for a CFE change (https://reviews.llvm.org/D42978)
that allows march and -target-cpu to list the valid targets in a note. The changes
are limited to the ARM/AArch64, since this is the only target that gets the CPU
list from LLVM.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Support/TargetParser.cpp | ||
---|---|---|
692 | Could you not just copy the values from CPUNames and AArch64CPUNames? |
Comment Actions
Thanks for the patch, I think this would be a nice UI improvement. I agree with Sam, please use CPUNames and AArch64CPUNames. Also there are unit tests for the target parser in unittests/Support/TargetParserTest.cpp. Could you add some for the new functions?
Could you not just copy the values from CPUNames and AArch64CPUNames?