Skip to content

Commit bc6ef62

Browse files
dguzhaevigcbot
authored andcommitted
Disable unused test output
Disabled output for tests that don't depend on it
1 parent 67adeac commit bc6ef62

File tree

14 files changed

+40
-39
lines changed

14 files changed

+40
-39
lines changed

IGC/Compiler/tests/Legalization/addrspacecast-gas-typed-pointers.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
;============================ end_copyright_notice =============================
88
;
99
; Default test run w/o AddImplicitArgs is for sanity reasons(so module won't break)
10-
; RUN: igc_opt -igc-legalization -S -dce < %s
10+
; RUN: igc_opt -igc-legalization -S -dce -disable-output < %s
1111
;
1212
; AddImplicitArgs is expected to be present in pipeline
1313
; RUN: igc_opt -igc-add-implicit-args -igc-legalization -S -dce < %s | FileCheck %s

IGC/Compiler/tests/Legalization/addrspacecast-gas.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
; REQUIRES: llvm-14-plus
99
;
1010
; Default test run w/o AddImplicitArgs is for sanity reasons(so module won't break)
11-
; RUN: igc_opt -opaque-pointers -igc-legalization -S -dce < %s
11+
; RUN: igc_opt -opaque-pointers -igc-legalization -S -dce -disable-output < %s
1212
;
1313
; AddImplicitArgs is expected to be present in pipeline
1414
; RUN: igc_opt -opaque-pointers -igc-add-implicit-args -igc-legalization -S -dce < %s | FileCheck %s

IGC/Compiler/tests/LowPrecisionOpt/bundles-typed-pointers.ll

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
; RUN: igc_opt -igc-low-precision-opt -inputps -S < %s
1+
; RUN: igc_opt -igc-low-precision-opt -inputps -S < %s | FileCheck %s
22
; ------------------------------------------------
33
; LowPrecisionOpt
44
; ------------------------------------------------
55
; This test checks that fptrunc bundle works
66

7-
8-
9-
; CHECK: %0 = alloca half, align 4
10-
; CHECK: %1 = call float @llvm.genx.GenISA.RuntimeValue.f32(i32 2)
11-
; CHECK: %2 = fptrunc float %1 to half
12-
; CHECK: %3 = call float @llvm.genx.GenISA.RuntimeValue.f32(i32 1)
13-
; CHECK: %4 = fptrunc float %3 to half
14-
; CHECK: store half %4, half* %0
15-
167
define void @test_low(float %src) {
8+
; CHECK-LABEL: define void @test_low(
9+
; CHECK-SAME: float [[SRC:%.*]]) {
10+
; CHECK-NEXT: [[ENTRY:.*:]]
11+
; CHECK-NEXT: [[TMP0:%.*]] = call float @llvm.genx.GenISA.RuntimeValue.f32(i32 1)
12+
; CHECK-NEXT: [[TMP1:%.*]] = fptrunc float [[TMP0]] to half
13+
; CHECK-NEXT: [[TMP2:%.*]] = call float @llvm.genx.GenISA.RuntimeValue.f32(i32 2)
14+
; CHECK-NEXT: [[TMP3:%.*]] = fptrunc float [[TMP2]] to half
15+
; CHECK-NEXT: [[TMP4:%.*]] = alloca half, align 4
16+
; CHECK-NEXT: store half [[TMP1]], half* [[TMP4]], align 2
17+
; CHECK-NEXT: ret void
18+
;
1719
entry:
1820
; bundles sort GenISA_RuntimeValue + fptrunc
1921
%0 = alloca half, align 4

IGC/Compiler/tests/LowPrecisionOpt/bundles.ll

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1-
21
; REQUIRES: llvm-14-plus
3-
; RUN: igc_opt --opaque-pointers -igc-low-precision-opt -inputps -S < %s
2+
; RUN: igc_opt --opaque-pointers -igc-low-precision-opt -inputps -S < %s | FileCheck %s
43
; ------------------------------------------------
54
; LowPrecisionOpt
65
; ------------------------------------------------
76
; This test checks that fptrunc bundle works
87

98

10-
11-
; CHECK: %0 = alloca half, align 4
12-
; CHECK: %1 = call float @llvm.genx.GenISA.RuntimeValue.f32(i32 2)
13-
; CHECK: %2 = fptrunc float %1 to half
14-
; CHECK: %3 = call float @llvm.genx.GenISA.RuntimeValue.f32(i32 1)
15-
; CHECK: %4 = fptrunc float %3 to half
16-
; CHECK: store half %4, half* %0
17-
189
define void @test_low(float %src) {
10+
; CHECK-LABEL: define void @test_low(
11+
; CHECK-SAME: float [[SRC:%.*]]) {
12+
; CHECK-NEXT: [[ENTRY:.*:]]
13+
; CHECK-NEXT: [[TMP0:%.*]] = call float @llvm.genx.GenISA.RuntimeValue.f32(i32 1)
14+
; CHECK-NEXT: [[TMP1:%.*]] = fptrunc float [[TMP0]] to half
15+
; CHECK-NEXT: [[TMP2:%.*]] = call float @llvm.genx.GenISA.RuntimeValue.f32(i32 2)
16+
; CHECK-NEXT: [[TMP3:%.*]] = fptrunc float [[TMP2]] to half
17+
; CHECK-NEXT: [[TMP4:%.*]] = alloca half, align 4
18+
; CHECK-NEXT: store half [[TMP1]], ptr [[TMP4]], align 2
19+
; CHECK-NEXT: ret void
20+
;
1921
entry:
2022
; bundles sort GenISA_RuntimeValue + fptrunc
2123
%0 = alloca half, align 4

IGC/Compiler/tests/OpenCLPrintfResolution/empty_printf_call-typed-pointers.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
; SPDX-License-Identifier: MIT
66
;
77
;============================ end_copyright_notice =============================
8-
; RUN: igc_opt -igc-opencl-printf-resolution -S < %s
8+
; RUN: igc_opt -igc-opencl-printf-resolution -S -disable-output < %s
99
; ------------------------------------------------
1010
; OpenCLPrintfResolution
1111
; ------------------------------------------------

IGC/Compiler/tests/OpenCLPrintfResolution/empty_printf_call.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;
77
;============================ end_copyright_notice =============================
88
; REQUIRES: llvm-14-plus
9-
; RUN: igc_opt --opaque-pointers -igc-opencl-printf-resolution -S < %s
9+
; RUN: igc_opt --opaque-pointers -igc-opencl-printf-resolution -S -disable-output < %s
1010
; ------------------------------------------------
1111
; OpenCLPrintfResolution
1212
; ------------------------------------------------

IGC/Compiler/tests/ProcessFuncAttributes/selective-function-control-dump-typed-pointers.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
;============================ end_copyright_notice =============================
88
;
99
; REQUIRES: llvm-14-plus, regkeys
10-
; RUN: igc_opt --igc-process-func-attributes -regkey FunctionControl=3,SelectiveFunctionControl=2,SelectiveFunctionControlFile=%t < %s
10+
; RUN: igc_opt --igc-process-func-attributes -regkey FunctionControl=3,SelectiveFunctionControl=2,SelectiveFunctionControlFile=%t -disable-output < %s
1111
; RUN: cat %t | FileCheck %s
1212
; ------------------------------------------------
1313

IGC/VectorCompiler/test/CMABI/linearization_no_crash.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
;
77
;============================ end_copyright_notice =============================
88

9-
; RUN: %opt_typed_ptrs %use_old_pass_manager% -CMABI -march=genx64 -mcpu=Gen9 -S < %s
10-
; RUN: %opt_opaque_ptrs %use_old_pass_manager% -CMABI -march=genx64 -mcpu=Gen9 -S < %s
9+
; RUN: %opt_typed_ptrs %use_old_pass_manager% -CMABI -march=genx64 -mcpu=Gen9 -S -disable-output < %s
10+
; RUN: %opt_opaque_ptrs %use_old_pass_manager% -CMABI -march=genx64 -mcpu=Gen9 -S -disable-output < %s
1111
; COM: This test must not crash
1212

1313
target datalayout = "e-p:64:64-i64:64-n8:16:32:64"

IGC/VectorCompiler/test/DebugInfo/dumps_test.ll

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,15 @@
55
; SPDX-License-Identifier: MIT
66
;
77
;============================ end_copyright_notice =============================
8-
8+
; REQUIRES: oneapi-readelf
99
; RUN: llc %s -march=genx64 -mcpu=Gen9 \
1010
; RUN: -vc-skip-ocl-runtime-info \
1111
; RUN: -vc-enable-dbginfo-dumps \
1212
; RUN: -vc-dbginfo-dumps-name-override=%basename_t \
1313
; RUN: -finalizer-opts='-generateDebugInfo' -o /dev/null
1414

1515
; COM: we just check that files exist and can be decoded
16-
; RUN: readelf --debug-dump dbginfo_%basename_t_test_kernel_dwarf.elf
17-
18-
; COM: just check that a file exists
19-
; RUN: test -f dbginfo_%basename_t_test_kernel_gen.dump
16+
; RUN: oneapi-readelf --debug-dump dbginfo_%basename_t_test_kernel_dwarf.elf &> dbginfo_%basename_t_test_kernel_gen.dump
2017

2118
; COM: check that the file contains expected sections
2219
; RUN: FileCheck --input-file dbginfo_%basename_t_test_kernel_gen.decoded.dump --check-prefix=CHECK_GEN_DEBUG_DECODED %s

IGC/VectorCompiler/test/GenXCoalescing/constant_in_ret_inst.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
; RUN: %opt %use_old_pass_manager% -GenXModule -GenXNumberingWrapper -GenXLiveRangesWrapper -GenXCoalescingWrapper \
1515
; RUN: -march=genx64 -mcpu=Gen9 -mtriple=spir64-unknown-unknown -vc-disable-coalescing -S \
16-
; RUN: < %s
16+
; RUN: -disable-output < %s
1717

1818
; ModuleID = 'test_2.ll'
1919
source_filename = "test_2.ll"

0 commit comments

Comments
 (0)