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

Ming-Yi Lai via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 7 01:51:46 PDT 2025


================
@@ -91,6 +91,14 @@ class RISCVSubtarget : public RISCVGenSubtargetInfo {
     NLog2N,
   };
   // clang-format on
+
+  enum class ZicfilpLabelSchemeKind {
+    Disabled,
+    Unknown,
----------------
mylai-mtk wrote:

Perhaps I should change this name to `EnabledUnknown` to clearly exclude it from `Disabled`?

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


More information about the llvm-commits mailing list