Skip to content

Commit bd812d0

Browse files
committed
make the warning check more explicit
1 parent 2870639 commit bd812d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/Target/LLVMIR/Import/import-failure.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ target datalayout = "e-m-i64:64"
313313
; // -----
314314

315315
; CHECK: <unknown>
316-
; CHECK-SAME: incompatible call and callee types: '!llvm.func<void (i64)>' and '!llvm.func<void (ptr)>'
316+
; CHECK-SAME: warning: incompatible call and callee types: '!llvm.func<void (i64)>' and '!llvm.func<void (ptr)>'
317317
define void @incompatible_call_and_callee_types() {
318318
call void @callee(i64 0)
319319
ret void
@@ -324,7 +324,7 @@ declare void @callee(ptr)
324324
; // -----
325325

326326
; CHECK: <unknown>
327-
; CHECK-SAME: incompatible call and callee types: '!llvm.func<void ()>' and '!llvm.func<i32 ()>'
327+
; CHECK-SAME: warning: incompatible call and callee types: '!llvm.func<void ()>' and '!llvm.func<i32 ()>'
328328
define void @f() personality ptr @__gxx_personality_v0 {
329329
entry:
330330
invoke void @g() to label %bb1 unwind label %bb2

0 commit comments

Comments
 (0)