Skip to content

Commit 0ae224f

Browse files
committed
replace unused variables with _
1 parent f6a90df commit 0ae224f

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def NVVM_ReduxOp :
416416
LLVM::ModuleTranslation &mt, llvm::IRBuilderBase &builder);
417417
}];
418418
string llvmBuilder = [{
419-
auto [id, args, types] =
419+
auto [id, args, _] =
420420
NVVM::ReduxOp::getIIDAndArgsWithTypes(
421421
*op, moduleTranslation, builder);
422422
$res = createIntrinsicCall(builder, id, args);
@@ -890,7 +890,7 @@ def NVVM_FenceProxyAcquireOp : NVVM_Op<"fence.proxy.acquire">,
890890
LLVM::ModuleTranslation &mt, llvm::IRBuilderBase &builder);
891891
}];
892892
let llvmBuilder = [{
893-
auto [intId, args, types] =
893+
auto [intId, args, _] =
894894
NVVM::FenceProxyAcquireOp::getIIDAndArgsWithTypes(
895895
*op, moduleTranslation, builder);
896896
createIntrinsicCall(builder, intId, args);
@@ -924,9 +924,10 @@ def NVVM_FenceProxyReleaseOp : NVVM_Op<"fence.proxy.release">,
924924
LLVM::ModuleTranslation &mt, llvm::IRBuilderBase &builder);
925925
}];
926926
let llvmBuilder = [{
927-
auto [intId, args, types] = NVVM::FenceProxyReleaseOp::getIIDAndArgsWithTypes(
927+
auto [intId, _, _] =
928+
NVVM::FenceProxyReleaseOp::getIIDAndArgsWithTypes(
928929
*op, moduleTranslation, builder);
929-
createIntrinsicCall(builder, intId, args);
930+
createIntrinsicCall(builder, intId);
930931
}];
931932

932933
let hasVerifier = 1;
@@ -1011,7 +1012,7 @@ def NVVM_ShflOp :
10111012
LLVM::ModuleTranslation &mt, llvm::IRBuilderBase &builder);
10121013
}];
10131014
string llvmBuilder = [{
1014-
auto [intId, args, types] = NVVM::ShflOp::getIIDAndArgsWithTypes(
1015+
auto [intId, args, _] = NVVM::ShflOp::getIIDAndArgsWithTypes(
10151016
*op, moduleTranslation, builder);
10161017
$res = createIntrinsicCall(builder, intId, args);
10171018
}];
@@ -1065,7 +1066,7 @@ def NVVM_VoteSyncOp
10651066
LLVM::ModuleTranslation &mt, llvm::IRBuilderBase &builder);
10661067
}];
10671068
string llvmBuilder = [{
1068-
auto [intId, args, types] =
1069+
auto [intId, args, _] =
10691070
NVVM::VoteSyncOp::getIIDAndArgsWithTypes(
10701071
*op, moduleTranslation, builder);
10711072
$res = createIntrinsicCall(builder, intId, args);
@@ -1144,7 +1145,7 @@ def NVVM_CpAsyncOp : NVVM_Op<"cp.async.shared.global">,
11441145
llvm::IRBuilderBase &builder);
11451146
}];
11461147
string llvmBuilder = [{
1147-
auto [id, args, types] = NVVM::CpAsyncOp::getIIDAndArgsWithTypes(
1148+
auto [id, args, _] = NVVM::CpAsyncOp::getIIDAndArgsWithTypes(
11481149
*op, moduleTranslation, builder);
11491150
createIntrinsicCall(builder, id, args);
11501151
}];
@@ -2607,7 +2608,7 @@ def NVVM_CpAsyncBulkTensorSharedCTAToGlobalOp :
26072608
let hasVerifier = 1;
26082609

26092610
string llvmBuilder = [{
2610-
auto [id, args, types] = NVVM::CpAsyncBulkTensorSharedCTAToGlobalOp::getIIDAndArgsWithTypes(
2611+
auto [id, args, _] = NVVM::CpAsyncBulkTensorSharedCTAToGlobalOp::getIIDAndArgsWithTypes(
26112612
*op, moduleTranslation, builder);
26122613
createIntrinsicCall(builder, id, args);
26132614
}];
@@ -2685,7 +2686,7 @@ def NVVM_PrefetchOp : NVVM_Op<"prefetch",
26852686
}
26862687
}];
26872688
let llvmBuilder = [{
2688-
auto [id, args, types] = NVVM::PrefetchOp::getIIDAndArgsWithTypes(*op,
2689+
auto [id, args, _] = NVVM::PrefetchOp::getIIDAndArgsWithTypes(*op,
26892690
moduleTranslation, builder);
26902691

26912692
if(op.getTensormap())
@@ -2733,7 +2734,7 @@ def NVVM_CpAsyncBulkPrefetchOp : NVVM_Op<"cp.async.bulk.prefetch"> {
27332734
}];
27342735

27352736
string llvmBuilder = [{
2736-
auto [id, args, types] = NVVM::CpAsyncBulkPrefetchOp::getIIDAndArgsWithTypes(
2737+
auto [id, args, _] = NVVM::CpAsyncBulkPrefetchOp::getIIDAndArgsWithTypes(
27372738
*op, moduleTranslation, builder);
27382739
createIntrinsicCall(builder, id, args);
27392740
}];
@@ -2776,7 +2777,7 @@ def NVVM_CpAsyncBulkTensorPrefetchOp :
27762777
let hasVerifier = 1;
27772778

27782779
string llvmBuilder = [{
2779-
auto [id, args, types] = NVVM::CpAsyncBulkTensorPrefetchOp::getIIDAndArgsWithTypes(
2780+
auto [id, args, _] = NVVM::CpAsyncBulkTensorPrefetchOp::getIIDAndArgsWithTypes(
27802781
*op, moduleTranslation, builder);
27812782
createIntrinsicCall(builder, id, args);
27822783
}];
@@ -2845,7 +2846,7 @@ def NVVM_CpAsyncBulkTensorReduceOp :
28452846
let hasVerifier = 1;
28462847

28472848
string llvmBuilder = [{
2848-
auto [id, args, types] = NVVM::CpAsyncBulkTensorReduceOp::getIIDAndArgsWithTypes(
2849+
auto [id, args, _] = NVVM::CpAsyncBulkTensorReduceOp::getIIDAndArgsWithTypes(
28492850
*op, moduleTranslation, builder);
28502851
createIntrinsicCall(builder, id, args);
28512852
}];
@@ -2892,7 +2893,7 @@ def NVVM_CpAsyncBulkGlobalToSharedClusterOp :
28922893
}];
28932894

28942895
string llvmBuilder = [{
2895-
auto [id, args, types] = NVVM::CpAsyncBulkGlobalToSharedClusterOp::getIIDAndArgsWithTypes(
2896+
auto [id, args, _] = NVVM::CpAsyncBulkGlobalToSharedClusterOp::getIIDAndArgsWithTypes(
28962897
*op, moduleTranslation, builder);
28972898
createIntrinsicCall(builder, id, args);
28982899
}];
@@ -2981,7 +2982,7 @@ def NVVM_CpAsyncBulkSharedCTAToGlobalOp :
29812982
llvm::IRBuilderBase& builder);
29822983
}];
29832984
string llvmBuilder = [{
2984-
auto [id, args, types] = NVVM::CpAsyncBulkSharedCTAToGlobalOp::getIIDAndArgsWithTypes(
2985+
auto [id, args, _] = NVVM::CpAsyncBulkSharedCTAToGlobalOp::getIIDAndArgsWithTypes(
29852986
*op, moduleTranslation, builder);
29862987
createIntrinsicCall(builder, id, args);
29872988
}];
@@ -3287,7 +3288,7 @@ def NVVM_MatchSyncOp : NVVM_Op<"match.sync">,
32873288
LLVM::ModuleTranslation &mt, llvm::IRBuilderBase &builder);
32883289
}];
32893290
string llvmBuilder = [{
3290-
auto [intId, args, types] =
3291+
auto [intId, args, _] =
32913292
NVVM::MatchSyncOp::getIIDAndArgsWithTypes(
32923293
*op, moduleTranslation, builder);
32933294
$res = createIntrinsicCall(builder, intId, args);
@@ -3320,7 +3321,7 @@ def NVVM_BulkStoreOp: NVVM_Op<"st.bulk"> {
33203321
LLVM::ModuleTranslation &mt, llvm::IRBuilderBase &builder);
33213322
}];
33223323
string llvmBuilder = [{
3323-
auto [intId, args, types] =
3324+
auto [intId, args, _] =
33243325
NVVM::BulkStoreOp::getIIDAndArgsWithTypes(
33253326
*op, moduleTranslation, builder);
33263327
createIntrinsicCall(builder, intId, args);
@@ -3412,7 +3413,7 @@ def NVVM_Tcgen05AllocOp : NVVM_Op<"tcgen05.alloc", [NVVMRequiresSMa<[100, 101]>]
34123413
llvm::IRBuilderBase &builder);
34133414
}];
34143415
string llvmBuilder = [{
3415-
auto [id, args, types] = NVVM::Tcgen05AllocOp::getIIDAndArgsWithTypes(
3416+
auto [id, args, _] = NVVM::Tcgen05AllocOp::getIIDAndArgsWithTypes(
34163417
*op, moduleTranslation, builder);
34173418
createIntrinsicCall(builder, id, args);
34183419
}];
@@ -3439,7 +3440,7 @@ def NVVM_Tcgen05DeallocOp : NVVM_Op<"tcgen05.dealloc", [NVVMRequiresSMa<[100, 10
34393440
llvm::IRBuilderBase &builder);
34403441
}];
34413442
string llvmBuilder = [{
3442-
auto [id, args, types] = NVVM::Tcgen05DeallocOp::getIIDAndArgsWithTypes(
3443+
auto [id, args, _] = NVVM::Tcgen05DeallocOp::getIIDAndArgsWithTypes(
34433444
*op, moduleTranslation, builder);
34443445
createIntrinsicCall(builder, id, args);
34453446
}];
@@ -3543,7 +3544,7 @@ def NVVM_Tcgen05CommitOp : NVVM_Op<"tcgen05.commit", [NVVMRequiresSMa<[100, 101]
35433544
}];
35443545

35453546
string llvmBuilder = [{
3546-
auto [id, args, types] = NVVM::Tcgen05CommitOp::getIIDAndArgsWithTypes(
3547+
auto [id, args, _] = NVVM::Tcgen05CommitOp::getIIDAndArgsWithTypes(
35473548
*op, moduleTranslation, builder);
35483549
createIntrinsicCall(builder, id, args);
35493550
}];
@@ -3653,7 +3654,7 @@ def NVVM_Tcgen05CpOp : NVVM_Op<"tcgen05.cp", [NVVMRequiresSMa<[100, 101]>]> {
36533654
}];
36543655

36553656
string llvmBuilder = [{
3656-
auto [id, args, types] = NVVM::Tcgen05CpOp::getIIDAndArgsWithTypes(*op,
3657+
auto [id, args, _] = NVVM::Tcgen05CpOp::getIIDAndArgsWithTypes(*op,
36573658
moduleTranslation, builder);
36583659
createIntrinsicCall(builder, id, args);
36593660
}];
@@ -3826,7 +3827,7 @@ def NVVM_Tcgen05LdOp : NVVM_Op<"tcgen05.ld", [NVVMRequiresSMa<[100, 101]>]> {
38263827
LLVM::ModuleTranslation &mt, llvm::IRBuilderBase &builder);
38273828
}];
38283829
string llvmBuilder = [{
3829-
auto [id, args, types] =
3830+
auto [id, args, _] =
38303831
NVVM::Tcgen05LdOp::getIIDAndArgsWithTypes(*op,
38313832
moduleTranslation, builder);
38323833
$res = createIntrinsicCall(builder, id, args);
@@ -3906,7 +3907,7 @@ def NVVM_Tcgen05StOp : NVVM_Op<"tcgen05.st", [NVVMRequiresSMa<[100, 101]>]> {
39063907
LLVM::ModuleTranslation &mt, llvm::IRBuilderBase &builder);
39073908
}];
39083909
string llvmBuilder = [{
3909-
auto [id, args, types] =
3910+
auto [id, args, _] =
39103911
NVVM::Tcgen05StOp::getIIDAndArgsWithTypes(*op,
39113912
moduleTranslation, builder);
39123913
createIntrinsicCall(builder, id, args);
@@ -3973,7 +3974,7 @@ def NVVM_DotAccumulate4WayOp : NVVM_Op<"dot.accumulate.4way"> {
39733974
}];
39743975

39753976
string llvmBuilder = [{
3976-
auto [id, args, types] = NVVM::DotAccumulate4WayOp::getIIDAndArgsWithTypes(
3977+
auto [id, args, _] = NVVM::DotAccumulate4WayOp::getIIDAndArgsWithTypes(
39773978
*op, moduleTranslation, builder);
39783979
$res = createIntrinsicCall(builder, id, args);
39793980
}];
@@ -4027,7 +4028,7 @@ def NVVM_DotAccumulate2WayOp : NVVM_Op<"dot.accumulate.2way"> {
40274028
}];
40284029

40294030
string llvmBuilder = [{
4030-
auto [id, args, types] = NVVM::DotAccumulate2WayOp::getIIDAndArgsWithTypes(
4031+
auto [id, args, _] = NVVM::DotAccumulate2WayOp::getIIDAndArgsWithTypes(
40314032
*op, moduleTranslation, builder);
40324033
$res = createIntrinsicCall(builder, id, args);
40334034
}];

0 commit comments

Comments
 (0)