-
Notifications
You must be signed in to change notification settings - Fork 1.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
C++: Support C11 _Generic
expressions
#17138
Conversation
f56660a
to
eefc3cf
Compare
# 16| r16_2(glval<char[4]>) = StringConstant[int] : | ||
# 16| r16_2(glval<char[4]>) = Constant[int] : |
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 is due to the the getType
on the Value
associated with the Generic being of ArrayType
(only the underlying type is). This is inconsequential though.
Similar for the almost identical change below.
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.
QL, tests and upgrade/downgrade scripts LGTM.
I trust the upgrade/downgrade scripts have been tested, and that the CI and DCA run looks good on the other PR?
It might be nice to have a test demonstrating data flow through generic expressions, but I won't hold this up for it.
Correct.
The IR tests effectively demonstrate that the IR before and after are identical, so I don't think this adds much. |
No description provided.