Skip to content

Commit f7ca856

Browse files
Vladislav Vinogradovhrotuna
authored andcommitted
[mlir] Remove LIT tests affected by ASM simplification
1 parent 5d32060 commit f7ca856

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
@@ -104,20 +104,6 @@ func @alloca_non_integer_alignment() {
104104

105105
// -----
106106

107-
func @gep_missing_input_result_type(%pos : i64, %base : !llvm.ptr<f32>) {
108-
// expected-error@+1 {{2 operands present, but expected 0}}
109-
llvm.getelementptr %base[%pos] : () -> ()
110-
}
111-
112-
// -----
113-
114-
func @gep_missing_input_type(%pos : i64, %base : !llvm.ptr<f32>) {
115-
// expected-error@+1 {{2 operands present, but expected 0}}
116-
llvm.getelementptr %base[%pos] : () -> (!llvm.ptr<f32>)
117-
}
118-
119-
// -----
120-
121107
func @gep_missing_result_type(%pos : i64, %base : !llvm.ptr<f32>) {
122108
// expected-error@+1 {{op requires one result}}
123109
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
@@ -1641,18 +1641,6 @@ func @foo() {} // expected-error {{expected non-empty function body}}
16411641
16421642
// -----
16431643
1644-
// expected-note@+1 {{defined here}}
1645-
func @foo(%arg0: i64, %arg1: memref<1xf64>) {
1646-
br ^bb1
1647-
1648-
^bb1:
1649-
// expected-error@+1 {{value '%arg1' was defined in separate block and requires explicit type definition}}
1650-
test.format_operand_optional_type_op %arg0, %arg1
1651-
return
1652-
}
1653-
1654-
// -----
1655-
16561644
func @foo() {
16571645
br ^bb2
16581646

0 commit comments

Comments
 (0)