Skip to content

Commit c96e91d

Browse files
author
git apple-llvm automerger
committed
Merge commit '6bfedfa0ba31' from llvm.org/main into next
2 parents 207a657 + 6bfedfa commit c96e91d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,8 +1133,6 @@ LogicalResult NVVM::Tcgen05CpOp::verify() {
11331133
return emitError(
11341134
"Shape 32x128b requires multicast warpx4 for tcgen05.cp Op");
11351135
break;
1136-
default:
1137-
return emitError("Invalid shape for tcgen05.cp Op");
11381136
}
11391137
return success();
11401138
}
@@ -1385,9 +1383,8 @@ llvm::Intrinsic::ID Tcgen05CpOp::getIntrinsicID(Operation &op) {
13851383
return (mc == Tcgen05CpMulticast::WARPX2_01_23)
13861384
? GET_TCGEN05_CP_ID(_64x128b_warpx2_01_23, srcFmt, is2CTA)
13871385
: GET_TCGEN05_CP_ID(_64x128b_warpx2_02_13, srcFmt, is2CTA);
1388-
default:
1389-
llvm_unreachable("Invalid shape in tcgen05 cp Op");
13901386
}
1387+
llvm_unreachable("Invalid shape in tcgen05 cp Op");
13911388
}
13921389

13931390
/// Infer the result ranges for the NVVM SpecialRangeableRegisterOp that might

0 commit comments

Comments
 (0)