Skip to content

Commit c0773e1

Browse files
Jezurkofrabert
authored andcommitted
[MLIR][LLVMIR] Disable tests with debug info failures
1 parent 7d07349 commit c0773e1

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

mlir/test/Dialect/LLVMIR/debuginfo.mlir

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// RUN: mlir-opt %s | mlir-opt | FileCheck %s
2+
// instafix-llvm modifies debuginfo
3+
// XFAIL: *
24

35
// CHECK-DAG: #[[FILE:.*]] = #llvm.di_file<"debuginfo.mlir" in "/test/">
46
#file = #llvm.di_file<"debuginfo.mlir" in "/test/">

mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: mlir-opt -llvm-legalize-for-export --split-input-file %s | FileCheck %s -check-prefix=CHECK-OPT
22
// RUN: mlir-translate -mlir-to-llvmir --split-input-file %s | FileCheck %s -check-prefix=CHECK-TRANSLATE
33

4+
// instafix-llvm modifies debuginfo
5+
// XFAIL: *
6+
47
#di_file = #llvm.di_file<"foo.c" in "/mlir/">
58
#di_compile_unit = #llvm.di_compile_unit<id = distinct[0]<>, sourceLanguage = DW_LANG_C, file = #di_file, producer = "MLIR", isOptimized = true, emissionKind = Full>
69
#di_subprogram = #llvm.di_subprogram<compileUnit = #di_compile_unit, scope = #di_file, name = "simplify", file = #di_file, subprogramFlags = Definition>

mlir/test/Target/LLVMIR/Import/debug-assign-records.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
; RUN: mlir-translate -import-llvm -split-input-file %s | FileCheck %s
2+
; instafix-llvm modifies debuginfo
3+
; XFAIL: *
24

35
; Test debug record format (new debug info format with #dbg_assign records)
46
; This file uses the new debug record format which cannot be mixed with debug intrinsics

mlir/test/Target/LLVMIR/Import/debug-info.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
; RUN: mlir-translate -import-llvm -mlir-print-debuginfo -split-input-file %s | FileCheck %s
2+
; instafix-llvm modifies debuginfo
3+
; XFAIL: *
24

35
; CHECK: #[[$UNKNOWN_LOC:.+]] = loc(unknown)
46

mlir/test/Target/LLVMIR/llvmir-debug.mlir

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// RUN: mlir-translate -mlir-to-llvmir --split-input-file %s | FileCheck %s --check-prefixes=CHECK,RECORDS
2+
// instafix-llvm modifies debuginfo
3+
// XFAIL: *
24

35
// CHECK-LABEL: define void @func_with_empty_named_info()
46
// Check that translation doens't crash in the presence of an inlineble call

0 commit comments

Comments
 (0)