Skip to content

Commit 2d47764

Browse files
authored
[NFC][SYCL][Fusion] Drop debug messages check in internalization test (#8435)
The test was failing for builds with no assertions. Dropping the `-debug` option and the lines checking for the warning messages due to aborted internalization fixes the test. Signed-off-by: Victor Perez <[email protected]>
1 parent 42b17c6 commit 2d47764

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sycl-fusion/test/internalization/abort-promote-stored-ptr.ll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
; RUN: opt -load-pass-plugin %shlibdir/SYCLKernelFusion%shlibext\
2-
; RUN: -passes=sycl-internalization --sycl-info-path %S/abort-kernel-info.yaml -S %s -debug 2>&1 | FileCheck %s
2+
; RUN: -passes=sycl-internalization --sycl-info-path %S/abort-kernel-info.yaml -S %s | FileCheck %s
33

44
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024"
55
target triple = "spir64-unknown-unknown"
66

7-
; CHECK: Unable to perform all promotions for function fused_0. Detailed information:
8-
; CHECK: Failed to promote argument 0 of function fused_0: It is not safe to promote values being stored to another pointer
9-
107
; CHECK-LABEL: define {{[^@]+}}@fused_0
118
; CHECK-SAME: (float addrspace(1)* align 4 %[[ACC:.*]])
129
define spir_kernel void @fused_0(float addrspace(1)* align 4 %acc) !kernel_arg_addr_space !12 !kernel_arg_access_qual !13 !kernel_arg_type !14 !kernel_arg_type_qual !15 !kernel_arg_base_type !14 !kernel_arg_name !16 !sycl.kernel.promote !17 !sycl.kernel.promote.localsize !18 {

0 commit comments

Comments
 (0)