================ @@ -0,0 +1,92 @@ +//======-- RISCVStateCheck.cpp - Helper for checking RISC-V attributes -======// ---------------- topperc wrote: Can do the check in `RISCVTargetLowering::LowerCall` and the equivalent in GlobalISel? https://github.com/llvm/llvm-project/pull/206260