================ @@ -18,6 +18,7 @@ #include "RISCV.h" #include "RISCVSubtarget.h" +#include "RISCVISelDAGToDAG.h" ---------------- topperc wrote: Alphabetize? Though I'm surprised a SelectionDAG header is needed in an MIR pass. https://github.com/llvm/llvm-project/pull/72441