Skip to content

Intermittent test failures in llvmpasses/image-codegen.jl #57738

Open
@giordano

Description

@giordano

Observed in #53462 and #57725 (especially the latter is wildly unrelated to any code at all since it's only touching documentation):

FAIL: Julia :: image-codegen.jl (30 of 44)
******************** TEST 'Julia :: image-codegen.jl' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: export JULIA_LLVM_ARGS="--print-before=loop-vectorize --print-module-scope"
+ export 'JULIA_LLVM_ARGS=--print-before=loop-vectorize --print-module-scope'
+ JULIA_LLVM_ARGS='--print-before=loop-vectorize --print-module-scope'
RUN: at line 3: rm -rf /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp
+ rm -rf /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp
RUN: at line 4: mkdir /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp
+ mkdir /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp
RUN: at line 5: julia --image-codegen --startup-file=no /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl 2> /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp/output.txt
+ julia --image-codegen --startup-file=no /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl
RUN: at line 6: FileCheck /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl < /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp/output.txt
+ FileCheck /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl
/cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl:17:15: error: CHECK-SAME: is not on the same line as the previous match
# CHECK-SAME: = {{(external )?}}
              ^
<stdin>:89:5: note: 'next' match was here
 %7 = addrspacecast ptr %6 to ptr addrspace(10), !dbg !16
    ^
<stdin>:88:32: note: previous match ended here
 %6 = load ptr, ptr @"jl_global#5", align 8, !dbg !16, !tbaa !13, !invariant.load !0, !alias.scope !17, !noalias !20, !nonnull !0
                               ^
Input file: <stdin>
Check file: /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl
-dump-input=help explains the following input dump.
Input was:
<<<<<<
         .
         .
         .
        84: %4, align 8, !tbaa !13, !invariant.load !0
        85:  fence syncscope("singlethread") seq_cst
        86:  call void @julia.safepoint(ptr %5), !dbg !15
        87:  fence syncscope("singlethread") seq_cst
        88:  %6 = load ptr, ptr @"jl_global#5", align 8, !dbg !16, !tbaa !13, !invariant.load !0, !alias.scope !17, !noalias !20, !nonnull !0
        89:  %7 = addrspacecast ptr %6 to ptr addrspace(10), !dbg !16
same:17         !~                                                     error: match on wrong line
        90:  ret ptr addrspace(10) %7, !dbg !16
        91: }
        92:
        93: ; Function Attrs: noinline optnone
        94: define nonnull ptr addrspace(10) @jfptr_f_4(ptr addrspace(10) %0, ptr noalias nocapture noundef readonly %1, i32 %2) local_unnamed_addr #1 {
         .
         .
         .
>>>>>>
--
********************

CC @gbaraldi who last touched this file recently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciContinuous integrationcompiler:llvmFor issues that relate to LLVM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions