Skip to content

Commit 73c3fbc

Browse files
committed
Quick fix regression issue. There are maskElems values if the llMask is null for BlockPointer case.
1 parent 0cf724f commit 73c3fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/intel/lib/TritonIntelGPUToLLVM/LoadStoreOpToLLVM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2232,7 +2232,7 @@ struct StoreOpConversion
22322232
}
22332233

22342234
Value maskVal = threadPred;
2235-
if (llMask) {
2235+
if (maskElems.size() > 0) {
22362236
auto mask = maskElems[vecStart];
22372237
maskVal = maybeAnd(rewriter, loc, threadPred, mask);
22382238
}

0 commit comments

Comments
 (0)