joker-eph wrote: > I'm wondering if there is a way to indicate that this op is free of side effects, and at the same time preventing the op from being folded away Why is this a problem to fold it away? https://github.com/llvm/llvm-project/pull/75314