It's fine to use any integer (vector) values regardless of the
signedness. The opcode decides how to interpret the bits.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D121238
[mlir][spirv] Fix spv.GLSL.{S|U}Clamp type checking ClosedPublic Authored by antiagainst on Mar 8 2022, 11:32 AM.
Details Summary It's fine to use any integer (vector) values regardless of the
Diff Detail
Event Timelineantiagainst added a child revision: D121247: [mlir][spirv] Define spv.VectorTimesScalar op.Mar 8 2022, 12:43 PM antiagainst added a parent revision: D121227: [mlir][spirv] Handle another form of folding comparsion into clamp. This revision is now accepted and ready to land.Mar 8 2022, 12:48 PM Closed by commit rGf8fb2aff7062: [mlir][spirv] Fix spv.GLSL.{S|U}Clamp type checking (authored by antiagainst). · Explain WhyMar 8 2022, 12:58 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413889 mlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLSLOps.td
mlir/test/Dialect/SPIRV/IR/glsl-ops.mlir
|