-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
f7968e4
to
392fe73
Compare
SystemZ back-end changes LGTM. Additional reviews as to the Clang and time support changes would be appreciated. |
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 |
There was a problem hiding this comment.
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 {}; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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...
Breaking this PR into 2 for chrono.h/.cpp changes and for zOS specific changes. |
This PR adds support for the PPA2 fields.