Skip to content

Swift CI: IRGen/yield_result.sil fails on iphoneos-arm64e #75697

Closed
@xymus

Description

@xymus

Description

See https://ci.swift.org/job/oss-swift_tools-RA_stdlib-DA_test-device-non_executable/7115/

Failed Tests (1):
  Swift(iphoneos-arm64e) :: IRGen/yield_result.sil
Command Output (stderr):
--
/Users/ec2-user/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-device-non_executable/swift/test/IRGen/yield_result.sil:108:12: error: CHECK: expected string not found in input
 // CHECK: [[ASSIGN_PTR:%.*]] = getelementptr inbounds ptr, ptr [[VW]], i32 3
           ^
<stdin>:131:38: note: scanning from here
 %T.valueWitnesses = load ptr, ptr %7, align 8, !invariant.load !22
                                     ^
<stdin>:131:38: note: with "VW" equal to "%T\\.valueWitnesses"
 %T.valueWitnesses = load ptr, ptr %7, align 8, !invariant.load !22
                                     ^
<stdin>:137:2: note: possible intended match here
 %13 = getelementptr inbounds ptr, ptr %12, i32 3
 ^

Input file: <stdin>
Check file: /Users/ec2-user/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-device-non_executable/swift/test/IRGen/yield_result.sil

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
           126:  %5 = call i1 (...) @llvm.coro.suspend.retcon.i1(ptr %2)
           127:  br i1 %5, label %17, label %6
           128:
           129: 6: ; preds = %entry
           130:  %7 = getelementptr inbounds ptr, ptr %T, i64 -1
           131:  %T.valueWitnesses = load ptr, ptr %7, align 8, !invariant.load !22
check:108'0                                          X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:108'1                                                                          with "VW" equal to "%T\\.valueWitnesses"
           132:  %8 = ptrtoint ptr %7 to i64
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           133:  %9 = call i64 @llvm.ptrauth.blend(i64 %8, i64 11839)
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           134:  %10 = ptrtoint ptr %T.valueWitnesses to i64
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           135:  %11 = call i64 @llvm.ptrauth.auth(i64 %10, i32 2, i64 %9)
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           136:  %12 = inttoptr i64 %11 to ptr
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           137:  %13 = getelementptr inbounds ptr, ptr %12, i32 3
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:108'2      ?                                                 possible intended match
           138:  %AssignWithCopy = load ptr, ptr %13, align 8, !invariant.load !22
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           139:  %14 = ptrtoint ptr %13 to i64
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           140:  %15 = call i64 @llvm.ptrauth.blend(i64 %14, i64 34641)
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           141:  %16 = call ptr %AssignWithCopy(ptr %1, ptr %2, ptr %T) #2 [ "ptrauth"(i32 0, i64 %15) ]
check:108'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           142:  br label %coro.end
check:108'0     ~~~~~~~~~~~~~~~~~~~~
             .
             .
             .
>>>>>>

--

Reproduction

Run tests for iphoneos-arm64e

Expected behavior

The test passes.

Environment

iphoneos-arm64e

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.test failure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions