[Mlir-commits] [mlir] [mlir][spirv] Account for undefined behaviour in GLSL ops (PR #203086)
Igor Wodiany
llvmlistbot at llvm.org
Thu Jun 11 03:47:45 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> {
----------------
IgWod wrote:
Done. I added `NoMemoryEffect` to the base class then `AlwaysSpeculatable` to the pure ops.
https://github.com/llvm/llvm-project/pull/203086
More information about the Mlir-commits
mailing list