Skip to content

Commit 117df4f

Browse files
raikonenfnumonorimet
authored andcommitted
Use domain rank helper fn + rebase
1 parent 20f951a commit 117df4f

File tree

1 file changed

+1
-1
lines changed
  • compiler/src/iree/compiler/Dialect/LinalgExt/Transforms

1 file changed

+1
-1
lines changed

compiler/src/iree/compiler/Dialect/LinalgExt/Transforms/Padding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ padAttention(IREE::LinalgExt::AttentionOp attnOp,
9090
Location loc = attnOp.getLoc();
9191
rewriter.setInsertionPoint(attnOp);
9292

93-
int64_t domainRank = maps[0].getNumDims();
93+
int64_t domainRank = opInfo.getDomainRank();
9494
if (domainRank != 5) {
9595
return definiteFailureHelper(
9696
transformOp, attnOp,

0 commit comments

Comments
 (0)