This will allow out-of-tree translation to register the dialects they expect
to see in their input, on the model of getDependentDialects() for passes.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SPIRV/Serialization/TranslateRegistration.cpp | ||
---|---|---|
127 | It is registered as a TranslateRegistration and not a TranslateFromMLIRRegistration The contract is different as this function is doing the parsing itself instead of getting a Module as input. I just pushed https://github.com/llvm/llvm-project/commit/12541b5ed59d and I'll update this patch to align this translation on the others. | |
mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp | ||
117 | Yes, updated here (and everywhere) |
Why is this needed?