We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134494d commit aaa6653Copy full SHA for aaa6653
lib/Dialect/Triton/IR/Utility.cpp
@@ -89,6 +89,9 @@ tt::MakeTensorPtrOp tt::getMakeTensorPtrOp(Value v) {
89
: condBr.getFalseDestOperands()[argNum]);
90
return tt::getMakeTensorPtrOp(argOwner->getOperand(argNum));
91
}
92
+ if (auto whileOp = dyn_cast<scf::WhileOp>(argOwner)) {
93
+ return tt::getMakeTensorPtrOp(whileOp.getOperand(argNum));
94
+ }
95
llvm_unreachable("Unable to getMakeTensorPtr()");
96
97
0 commit comments