Skip to content

Commit 33998fa

Browse files
Vladislav Vinogradovnikita-kud
authored andcommitted
[mlir] Remove LIT tests affected by ASM simplification
1 parent 247e847 commit 33998fa

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

mlir/test/Dialect/LLVMIR/invalid.mlir

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -118,20 +118,6 @@ func.func @alloca_ptr_type_attr_non_opaque_ptr(%sz : i64) {
118118

119119
// -----
120120

121-
func.func @gep_missing_input_result_type(%pos : i64, %base : !llvm.ptr<f32>) {
122-
// expected-error@+1 {{2 operands present, but expected 0}}
123-
llvm.getelementptr %base[%pos] : () -> ()
124-
}
125-
126-
// -----
127-
128-
func.func @gep_missing_input_type(%pos : i64, %base : !llvm.ptr<f32>) {
129-
// expected-error@+1 {{2 operands present, but expected 0}}
130-
llvm.getelementptr %base[%pos] : () -> (!llvm.ptr<f32>)
131-
}
132-
133-
// -----
134-
135121
func.func @gep_missing_result_type(%pos : i64, %base : !llvm.ptr<f32>) {
136122
// expected-error@+1 {{op requires one result}}
137123
llvm.getelementptr %base[%pos] : (!llvm.ptr<f32>, i64) -> ()

mlir/test/IR/invalid.mlir

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -675,18 +675,6 @@ func.func @error_at_end_of_line() {
675675

676676
// -----
677677

678-
// expected-note@+1 {{defined here}}
679-
func.func @foo(%arg0: i64, %arg1: memref<1xf64>) {
680-
cf.br ^bb1
681-
682-
^bb1:
683-
// expected-error@+1 {{value '%arg1' was defined in separate block and requires explicit type definition}}
684-
test.format_operand_optional_type_op %arg0, %arg1
685-
return
686-
}
687-
688-
// -----
689-
690678
func.func @foo() {
691679
cf.br ^bb2
692680

0 commit comments

Comments
 (0)