Simplify scalar type size calculation and handle boolean types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Unit tests: pass. 62001 tests passed, 0 failed and 783 were skipped.
clang-tidy: unknown.
clang-format: pass.
Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
mlir/test/Conversion/StandardToSPIRV/std-to-spirv.mlir | ||
---|---|---|
297 | Hmm, we cannot have bool type in externally visible storage classes: https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#OpTypeBool. This is something that should be fixed. Could you just change to reject memref of booleans for now? |
Comment Actions
Unit tests: pass. 62001 tests passed, 0 failed and 783 were skipped.
clang-tidy: unknown.
clang-format: pass.
Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
Hmm, we cannot have bool type in externally visible storage classes: https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#OpTypeBool.
This is something that should be fixed. Could you just change to reject memref of booleans for now?