[Mlir-commits] [mlir] [mlir][spirv] Account for undefined behaviour in GLSL ops (PR #203086)

Jakub Kuderski llvmlistbot at llvm.org
Thu Jun 11 03:20:22 PDT 2026


================
@@ -35,7 +35,7 @@ class SPIRV_GLOp<string mnemonic, int opcode, list<Trait> traits = []> :
 // Base class for GL unary ops.
 class SPIRV_GLUnaryOp<string mnemonic, int opcode, Type resultType,
                       Type operandType, list<Trait> traits = []> :
-  SPIRV_GLOp<mnemonic, opcode, !listconcat([Pure], traits)> {
+  SPIRV_GLOp<mnemonic, opcode, traits> {
----------------
kuhar wrote:

Pure ia NoMemoryEffects + Speculatable

https://github.com/llvm/llvm-project/pull/203086


More information about the Mlir-commits mailing list