File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 22//
33// This source file is part of the Swift.org open source project
44//
5- // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
5+ // Copyright (c) 2014 - 2023 Apple Inc. and the Swift project authors
66// Licensed under Apache License v2.0 with Runtime Library Exception
77//
88// See https://swift.org/LICENSE.txt for license information
@@ -408,6 +408,7 @@ std::pair<bool, bool> LangOptions::setTarget(llvm::Triple triple) {
408408 case llvm::Triple::ArchType::riscv64:
409409 addPlatformConditionValue (PlatformConditionKind::Endianness, " little" );
410410 break ;
411+ case llvm::Triple::ArchType::ppc:
411412 case llvm::Triple::ArchType::ppc64:
412413 case llvm::Triple::ArchType::systemz:
413414 addPlatformConditionValue (PlatformConditionKind::Endianness, " big" );
@@ -420,6 +421,7 @@ std::pair<bool, bool> LangOptions::setTarget(llvm::Triple triple) {
420421 case llvm::Triple::ArchType::arm:
421422 case llvm::Triple::ArchType::thumb:
422423 case llvm::Triple::ArchType::aarch64_32:
424+ case llvm::Triple::ArchType::ppc:
423425 case llvm::Triple::ArchType::x86:
424426 case llvm::Triple::ArchType::wasm32:
425427 addPlatformConditionValue (PlatformConditionKind::PointerBitWidth, " _32" );
You can’t perform that action at this time.
0 commit comments