[PATCH] D156710: [TargetParser] Generate RISCVTargetParserDef only if RISCV is enabled.
Jon Roelofs via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 09:58:42 PDT 2023
jroelofs added inline comments.
================
Comment at: llvm/lib/TargetParser/RISCVTargetParser.cpp:42
+#else
+ {"invalid", "invalid"}
+#endif
----------------
Will this cause `invalid` to show up in `-mcpu=help`? ISTM it would be better if the list were empty when it's not enabled.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156710/new/
https://reviews.llvm.org/D156710
More information about the llvm-commits
mailing list