This would mean allowing vector type conversion involving sub-byte
element types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D157791
[mlir][spirv] Support sub-byte element vector extension/truncation ClosedPublic Authored by antiagainst on Aug 12 2023, 10:32 AM.
Details Summary This would mean allowing vector type conversion involving sub-byte
Diff Detail
Event Timelineantiagainst retitled this revision from [mlir][spirv] Support sub-byte eleemnt vector extension/truncation to [mlir][spirv] Support sub-byte element vector extension/truncation.Aug 12 2023, 10:43 AM antiagainst added a parent revision: D157788: [mlir][spirv] Fix integer type emulation with extension/truncation. This revision is now accepted and ready to land.Aug 12 2023, 6:35 PM This revision was landed with ongoing or failed builds.Aug 12 2023, 6:43 PM Closed by commit rG69a3c9cddf19: [mlir][spirv] Support sub-byte element vector extension/truncation (authored by antiagainst). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 549631 mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTypes.h
mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
mlir/test/Conversion/ArithToSPIRV/arith-to-spirv.mlir
mlir/test/Conversion/FuncToSPIRV/types-to-spirv.mlir
|
nit: consider replacing this with return llvm::is_contained({2, 3, 4, 8, 16}, type.getNumElements());