Skip to content

Commit a4d09da

Browse files
committed
fix warnings
1 parent 04310fc commit a4d09da

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,8 +2252,6 @@ ShflOp::getIIDAndArgsWithTypes(Operation &op, LLVM::ModuleTranslation &mt,
22522252
id = resultType.isFloat() ? llvm::Intrinsic::nvvm_shfl_sync_idx_f32p
22532253
: llvm::Intrinsic::nvvm_shfl_sync_idx_i32p;
22542254
break;
2255-
default:
2256-
llvm_unreachable("unknown shuffle kind");
22572255
}
22582256
} else {
22592257
switch (kind) {
@@ -2273,8 +2271,6 @@ ShflOp::getIIDAndArgsWithTypes(Operation &op, LLVM::ModuleTranslation &mt,
22732271
id = resultType.isFloat() ? llvm::Intrinsic::nvvm_shfl_sync_idx_f32
22742272
: llvm::Intrinsic::nvvm_shfl_sync_idx_i32;
22752273
break;
2276-
default:
2277-
llvm_unreachable("unknown shuffle kind");
22782274
}
22792275
}
22802276

@@ -2467,7 +2463,6 @@ StMatrixOp::getIIDAndArgsWithTypes(Operation &op, LLVM::ModuleTranslation &mt,
24672463
NVVM::MMALayout layout = thisOp.getLayout();
24682464
int32_t num = thisOp.getSources().size();
24692465
NVVM::LdStMatrixShapeAttr shape = thisOp.getShape();
2470-
NVVM::LdStMatrixEltType eltType = thisOp.getEltType();
24712466

24722467
if (shape.getM() == 8 && shape.getN() == 8) {
24732468
switch (num) {

0 commit comments

Comments
 (0)