Instead of checking explicitly checking for whether an op is usalbe
inside a SpecConstantOperationOP, this commit adds a new trait to
filter such ops.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D94288
[MLIR][SPIRV] Add `UsableInSpecConstantOp` trait. ClosedPublic Authored by ergawy on Jan 8 2021, 12:22 AM.
Details Summary Instead of checking explicitly checking for whether an op is usalbe
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 8 2021, 5:07 AM This revision was landed with ongoing or failed builds.Jan 8 2021, 6:08 AM Closed by commit rG25d882e758cc: [MLIR][SPIRV] Add `UsableInSpecConstantOp` trait. (authored by ergawy). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 315305 mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBitOps.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCastOps.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCompositeOps.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVOpTraits.h
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
|