Skip to content

Commit ede2154

Browse files
committed
fix test
1 parent dfefe21 commit ede2154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/Conversion/ArithToEmitC/arith-to-emitc-unsupported.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func.func @arith_truncf(%arg0: f64) -> f32 {
161161
// -----
162162

163163
func.func @arith_extf_f128(%arg0: f32) -> f128 {
164-
// expected-error @+1 {{failed to legalize operation 'arith.truncf'}}
164+
// expected-error @+1 {{failed to legalize operation 'arith.extf'}}
165165
%extd = arith.extf %arg0 : f32 to f128
166166
return %extd : f128
167167
}
@@ -177,7 +177,7 @@ func.func @arith_truncf_f128(%arg0: f128) -> f32 {
177177
// -----
178178

179179
func.func @arith_extf_vector(%arg0: vector<4xf32>) -> vector<4xf64> {
180-
// expected-error @+1 {{failed to legalize operation 'arith.truncf'}}
180+
// expected-error @+1 {{failed to legalize operation 'arith.extf'}}
181181
%extd = arith.extf %arg0 : vector<4xf32> to vector<4xf64>
182182
return %extd : vector<4xf64>
183183
}

0 commit comments

Comments
 (0)