Skip to content

Commit d0c6dde

Browse files
committed
fix test names
1 parent db57c2a commit d0c6dde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/test/Target/LLVMIR/nvvm/redux-sync-invalid.mlir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ llvm.func @redux_sync_i32_with_nan(%value: i32, %offset: i32) {
1818

1919
// -----
2020

21-
llvm.func @redux_sync_f32_with_invalid_kind(%value: f32, %offset: i32) {
21+
llvm.func @redux_sync_f32_with_invalid_kind_add(%value: f32, %offset: i32) {
2222
// expected-error@+1 {{'add' redux kind unsupported with 'f32' type. Only supported type is 'i32'.}}
2323
%res = nvvm.redux.sync add %value, %offset: f32 -> f32
2424
llvm.return
2525
}
2626

2727
// -----
2828

29-
llvm.func @redux_sync_f32_with_invalid_kind(%value: f32, %offset: i32) {
29+
llvm.func @redux_sync_f32_with_invalid_kind_and(%value: f32, %offset: i32) {
3030
// expected-error@+1 {{'and' redux kind unsupported with 'f32' type. Only supported type is 'i32'.}}
3131
%res = nvvm.redux.sync and %value, %offset: f32 -> f32
3232
llvm.return
3333
}
3434

3535
// -----
3636

37-
llvm.func @redux_sync_i32_with_invalid_kind(%value: i32, %offset: i32) {
37+
llvm.func @redux_sync_i32_with_invalid_kind_fmin(%value: i32, %offset: i32) {
3838
// expected-error@+1 {{'fmin' redux kind unsupported with 'i32' type. Only supported type is 'f32'.}}
3939
%res = nvvm.redux.sync fmin %value, %offset: i32 -> i32
4040
llvm.return

0 commit comments

Comments
 (0)