Skip to content

[MLIR][Vector] Remove unused and unimplemented Vector_WarpExecuteOnLa… #112338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

kurapov-peter
Copy link
Contributor

…ne0Op builder

Removing the declaration instead of implementing the builder as discussed in #110106

@llvmbot
Copy link
Member

llvmbot commented Oct 15, 2024

@llvm/pr-subscribers-mlir

@llvm/pr-subscribers-mlir-vector

Author: Petr Kurapov (kurapov-peter)

Changes

…ne0Op builder

Removing the declaration instead of implementing the builder as discussed in #110106


Full diff: https://github.com/llvm/llvm-project/pull/112338.diff

1 Files Affected:

  • (modified) mlir/include/mlir/Dialect/Vector/IR/VectorOps.td (-1)
diff --git a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
index b0de7c11b9d436..96321f86ed9d07 100644
--- a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
+++ b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
@@ -3084,7 +3084,6 @@ def Vector_WarpExecuteOnLane0Op : Vector_Op<"warp_execute_on_lane_0",
 
   let skipDefaultBuilders = 1;
   let builders = [
-    OpBuilder<(ins "Value":$laneid, "int64_t":$warpSize)>,
     OpBuilder<(ins "TypeRange":$resultTypes, "Value":$laneid,
                    "int64_t":$warpSize)>,
     // `blockArgTypes` are different than `args` types as they are they

Copy link
Contributor

@banach-space banach-space left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, we can always restore it when needed. @kuhar, any reason not to delete this?

@kuhar kuhar requested a review from qedawkins October 15, 2024 14:05
@kuhar
Copy link
Member

kuhar commented Oct 15, 2024

@qedawkins Do you know if anything uses this?

@kurapov-peter
Copy link
Contributor Author

It's been a while, I'll just merge it. If there'll be any problems with it we can roll back and use the original PR to add the missing implementation.

@kurapov-peter kurapov-peter merged commit 7a71011 into llvm:main Oct 28, 2024
12 checks passed
@kurapov-peter kurapov-peter deleted the kurapov-peter-patch-1 branch October 28, 2024 16:12
NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
llvm#112338)

…ne0Op builder

Removing the declaration instead of implementing the builder as
discussed in llvm#110106
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants