[MLIR][SPIRV] Add `UsableInSpecConstantOp` trait.
Instead of checking explicitly checking for whether an op is usalbe inside a `SpecConstantOperationOP`, this commit adds a new trait to filter such ops. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D94288
Loading
Please sign in to comment