[clang] [llvm] [RISCV][VLS] Support RISCV VLS calling convention (PR #100346)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 14:22:15 PDT 2024


================
@@ -1333,6 +1333,15 @@ def Experimental
    : SubtargetFeature<"experimental", "HasExperimental",
                       "true", "Experimental intrinsics">;
 
+def FeatureABIVLen32B
----------------
topperc wrote:

Can we put this in the frontend's CodeGenOpts instead of using feature flags? I don't really want to burn 12 bits in SubtargetFeatures on something the backend doesn't need.

I think you can use a CC1Option with MarshallingInfo in Options.td to define a command line flag for the cc1 process to get it into CodeGenOpts.

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


More information about the llvm-commits mailing list