[Mlir-commits] [mlir] [mlir][vector] Implement speculation for vector.transferx ops (PR #111533)

Jakub Kuderski llvmlistbot at llvm.org
Tue Oct 8 08:01:22 PDT 2024


================
@@ -4627,6 +4633,12 @@ void TransferWriteOp::getEffects(
                          SideEffects::DefaultResource::get());
 }
 
+Speculation::Speculatability TransferWriteOp::getSpeculatability() {
+  if (!hasPureTensorSemantics())
+    return Speculation::NotSpeculatable;
+  return Speculation::Speculatable;
----------------
kuhar wrote:

same here

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


More information about the Mlir-commits mailing list