swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.53k stars 10.35k forks source link

[SR-9472] Swift 5.0 'IRGen' test failures on PowerPC64LE #51934

Open swift-ci opened 5 years ago

swift-ci commented 5 years ago
Previous ID SR-9472
Radar None
Original Reporter stamba (JIRA User)
Type Bug

Attachment: Download

Environment PowerPC64LE(Little Endian) - Ubuntu 16.04.4 LTS
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, IRGen, ppc64le | |Assignee | None | |Priority | Medium | md5: f11eaa052101aab0f6942cea21b8b8dc

Issue Description:

The following IRGen test failures are seen when Swift 5.0 toolchain is built on PowerPC64LE.

Invoked the build-toolchain to run the tests as follows :-
utils/build-toolchain srtbundle --test

**Following are the IRGen test failures:-

Swift(linux-powerpc64le) :: IRGen/class_resilience_objc.swift
Swift(linux-powerpc64le) :: IRGen/big_types_corner_cases.swift
Swift(linux-powerpc64le) :: IRGen/clang_inline_opt.swift
Swift(linux-powerpc64le) :: IRGen/errors.sil
Swift(linux-powerpc64le) :: IRGen/objc_simd.sil
Swift(linux-powerpc64le) :: IRGen/objc_properties_jit.swift
Swift(linux-powerpc64le) :: IRGen/pic.swift

Are these tests valid for PowerPC64LE?

Attached are the error details of the failing tests.

IRGenTestFailures.txt

Of these tests failing above, IRGen/clang_inline_opt.swift seems to be unsupported for PowerPC64LE as it targets 32 bits. Unsupporting it as below helps resolve the test:-

// UNSUPPORTED: CPU=powerpc64le

belkadan commented 5 years ago

These seem like a set that falls under "if it works on x86_64 Linux it should work on PowerPC64LE Linux".