================ @@ -16,6 +16,7 @@ #include "RISCV.h" #include "llvm/CodeGen/CallingConvLower.h" +#include "llvm/CodeGen/GlobalISel/CallLowering.h" ---------------- 4vtomat wrote: No it isn't needed. https://github.com/llvm/llvm-project/pull/79096