Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SystemZ][z/OS] This change adds support for the PPA2 section in zOS #65407

Closed
wants to merge 1 commit into from

Conversation

ysyeda
Copy link
Contributor

@ysyeda ysyeda commented Sep 5, 2023

This PR adds support for the PPA2 fields.

@ysyeda ysyeda requested review from a team as code owners September 5, 2023 19:50
@github-actions github-actions bot added clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang:frontend Language frontend issues, e.g. anything involving "Sema" clang:codegen mc Machine (object) code labels Sep 5, 2023
Copy link
Member

@uweigand uweigand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ysyeda ysyeda force-pushed the ppa2-zos branch 2 times, most recently from f7968e4 to 392fe73 Compare September 6, 2023 18:56
@uweigand
Copy link
Member

uweigand commented Sep 7, 2023

SystemZ back-end changes LGTM. Additional reviews as to the Clang and time support changes would be appreciated.

@ysyeda
Copy link
Contributor Author

ysyeda commented Sep 11, 2023

@labath can you please review the changes in chrono.h/.cpp?
@MaskRay can you please review the changes in clang?

@ysyeda
Copy link
Contributor Author

ysyeda commented Sep 19, 2023

ping

// .byte (i.e., the one for the 3) would, it seems, also match
// the .byte line below for the 34.

// RUN: %clang --target=s390x-ibm-zos -xc -S -o - %s | FileCheck %s --check-prefix CHECK-C
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use %clang_cc1 in non-driver tests

@@ -33,13 +33,33 @@ namespace sys {
template <typename D = std::chrono::nanoseconds>
using TimePoint = std::chrono::time_point<std::chrono::system_clock, D>;

// utc_clock and utc_time are only available since C++20. Add enough code to
// support formatting date/time in UTC.
class UtcClock : public std::chrono::system_clock {};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Support change needs to be split from this patch with a unittest in llvm/unittest/Support.

Many people will think this z/OS patch is unrelated to them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created a new PR for the UTC clock changes here: #67846

@@ -43,6 +43,7 @@ enum class Language : uint8_t {
HLSL,
///@}
};
const char *LanguageToString(Language L);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

languageToString? This file correctly uses functionName unlike many other Clang files...

@ysyeda
Copy link
Contributor Author

ysyeda commented Sep 29, 2023

Breaking this PR into 2 for chrono.h/.cpp changes and for zOS specific changes.
The PR for UTC clock support is here: #65407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:codegen clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang:frontend Language frontend issues, e.g. anything involving "Sema" mc Machine (object) code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants