Skip to content

Commit ee7cccf

Browse files
asowaniCodaFi
authored andcommitted
ppc64le port.
1 parent 8292da3 commit ee7cccf

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

test/IRGen/big_types_corner_cases.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// XFAIL: CPU=powerpc64le
22
// RUN: %target-swift-frontend -enable-large-loadable-types %s -emit-ir | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
33
// REQUIRES: optimized_stdlib
4+
// UNSUPPORTED: CPU=powerpc64le
45

56
public struct BigStruct {
67
var i0 : Int32 = 0

test/IRGen/c_functions.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ func test_indirect_by_val_alignment() {
3333
// armv7: define hidden swiftcc void @"$s11c_functions30test_indirect_by_val_alignmentyyF"()
3434
// i386: define hidden swiftcc void @"$s11c_functions30test_indirect_by_val_alignmentyyF"()
3535
// s390x: define hidden swiftcc void @"$s11c_functions30test_indirect_by_val_alignmentyyF"()
36+
// powerpc64le: define hidden swiftcc void @"$s11c_functions30test_indirect_by_val_alignmentyyF"()

test/IRGen/clang_inline_opt.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-swift-frontend -enable-objc-interop -import-objc-header %S/Inputs/c_functions.h -primary-file %s -O -emit-ir -disable-llvm-optzns | %FileCheck %s
2+
// UNSUPPORTED: CPU=powerpc64le
23

34
func return10() -> UInt32 {
45
return return7() + 3
@@ -7,7 +8,7 @@ func return10() -> UInt32 {
78
// Sanity check that we tell Clang to generate optimizable code when
89
// we're optimizing.
910

10-
// CHECK: define internal{{( zeroext)?}} i32 @return7() [[CLANG_ATTRS:#[0-9]+]] {
11+
// CHECK: define internal{{(zeroext)?}} i32 @return7() [[CLANG_ATTRS:#[0-9]+]] {
1112

1213
// CHECK: attributes [[CLANG_ATTRS]] = {
1314
// CHECK-NOT: noinline

test/IRGen/errors.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ entry(%0 : $AnyObject):
6464
// CHECK-armv7k: [[ERRORSLOT:%.*]] = alloca [[SWIFTERROR:.*]] %swift.error*, align
6565
// CHECK-arm64: [[ERRORSLOT:%.*]] = alloca [[SWIFTERROR:.*]] %swift.error*, align
6666
// CHECK-aarch64: [[ERRORSLOT:%.*]] = alloca [[SWIFTERROR:.*]] %swift.error*, align
67+
// CHECK-powerpc64le: [[ERRORSLOT:%.*]] = alloca [[SWIFTERROR:.*]] %swift.error*, align
6768
// CHECK-NEXT: store %swift.error* null, %swift.error** [[ERRORSLOT]], align
6869

6970
// CHECK-objc-NEXT: [[RESULT:%.*]] = call swiftcc %objc_object* @try_apply_helper(%objc_object* %0, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture [[SWIFTERROR]]{{( )?}}dereferenceable({{.}}) [[ERRORSLOT]])

0 commit comments

Comments
 (0)