mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
feat: add NoSideEffect trait to intToCleartext op
This would be useful for future pass to eliminate it when its result is no longer used
This commit is contained in:
@@ -91,7 +91,7 @@ def EncodeIntOp : Concrete_Op<"encode_int"> {
|
||||
let results = (outs PlaintextType:$plaintext);
|
||||
}
|
||||
|
||||
def IntToCleartextOp : Concrete_Op<"int_to_cleartext"> {
|
||||
def IntToCleartextOp : Concrete_Op<"int_to_cleartext", [NoSideEffect]> {
|
||||
let summary = "Keyswitches a LWE ciphertext";
|
||||
|
||||
let arguments = (ins AnyInteger:$i);
|
||||
|
||||
Reference in New Issue
Block a user