Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions lib/AnalysisStructured/PtrAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1217,10 +1217,6 @@ LogicalResult PtrAnalysis::rewriteAddptrOp(triton::AddPtrOp op) {
auto maketptrOp = state.createTTSMakeTensorPtrOp(builder, op.getLoc());
ptrMap.map(op.getResult(), maketptrOp.getResult());
} else if (enableMakeGatherScatterTensorPtr) {
// If there is only one dimension, return failure since there are no
// continuous dimensions.
if (state.getRank() == 1)
return failure();
PtrState unstructuredState;
// Switch to unstructured state analysis to create offsets and strides
// for the non-structured dimension.
Expand Down
Loading