[llvm] [RISCV][Zicfilp] Codegen LPAD insns by looking at module flags (PR #152121)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 08:26:16 PDT 2025


================
@@ -43,6 +45,23 @@ struct ExtensionComparator {
 typedef std::map<std::string, ExtensionVersion, ExtensionComparator>
     OrderedExtensionMap;
 
+enum class ZicfilpLabelSchemeKind {
----------------
topperc wrote:

Can we put this in RISCVTargetParser.h in the TargetParser library instead? RISCVISAUtils.h/cpp only exists to share code with tablegen. If this isn't needed by tablegen it shouldn't be in the Support library.

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


More information about the llvm-commits mailing list