artagnon wrote: Further, the only reason we depend on MLIRSupport is for TypeID.cpp, which is a completely unnecessary dependency. The only other Support headers we depend are LLVM.h and LogicalResult.h, which are also eliminated trivially. https://github.com/llvm/llvm-project/pull/96517