================ @@ -20,6 +20,7 @@ #include "LegalizeTypes.h" #include "llvm/Analysis/TargetLibraryInfo.h" +#include "llvm/CodeGen/ISDOpcodes.h" ---------------- topperc wrote: This should already be transitively included. https://github.com/llvm/llvm-project/pull/152684