[llvm] [DXIL][Doc] Update specification of to use TableGen list instead of dag (PR #99055)
S. Bharadwaj Yadavalli via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 09:41:16 PDT 2024
bharadwajy wrote:
> 2. Should we define an enum of our own set of types rather than using `CodeGen/ValueTypes.td`? Types like `dx.handle` and `dx.ResRet.f32` and the like are going to be annoying to represent using MVTs, and there's actually a pretty limited set of legal types in DXIL operations.
I agree. In its current state, the spec considers types `<size>Ty` to be synonymous to LLVMType `llvm<size>_ty`. I'd like to propose that defining DXIL-specific types instead be done in a follow-on PRs - both as updates to design spec and corresponding implementation.
https://github.com/llvm/llvm-project/pull/99055
More information about the llvm-commits
mailing list