================ @@ -20831,9 +20831,20 @@ SDValue RISCVTargetLowering::LowerFormalArguments( StringRef Kind = MF.getFunction().getFnAttribute("interrupt").getValueAsString(); - if (!(Kind == "supervisor" || Kind == "machine")) + constexpr StringRef SupportedInterruptKinds[] = { ---------------- lenary wrote:
Done https://github.com/llvm/llvm-project/pull/129957 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits