-
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
Reland "[CUDA][HIP] Fix overloading resolution in global var init" #65606
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.
I'm still figuring out the github-based workflow. One thing that may be useful in the future
would be to start the pull request branch with the original/reverted commit and put the updates into separate commits, so one could see incremental changes, similar to what phabricator's "history" was providing.
Please reflow the title to avoid the |
https://reviews.llvm.org/D158247 caused regressions for HIP on Windows and was reverted. A reduced test case is: ``` typedef void (__stdcall* funcTy)(); void invoke(funcTy f); static void __stdcall callee() noexcept { } void foo() { invoke(callee); } ``` It is due to clang missing handling host/device attributes for calling convention at a few places This patch fixes that.
c98f58c
to
a998f12
Compare
@@ -70,3 +70,4 @@ pythonenv* | |||
/clang/utils/analyzer/projects/*/RefScanBuildResults | |||
# automodapi puts generated documentation files here. | |||
/lldb/docs/python_api/ | |||
/Debug/ |
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 seems accidental? I removed it in 994bdce
(Personally I place build directories in /tmp to prevent mistakes..)
…lvm#65606) Cherry-pick 9b77638 https://reviews.llvm.org/D158247 caused regressions for HIP on Windows and was reverted. A reduced test case is: ``` typedef void (__stdcall* funcTy)(); void invoke(funcTy f); static void __stdcall callee() noexcept { } void foo() { invoke(callee); } ``` It is due to clang missing handling host/device attributes for calling convention at a few places This patch fixes that. Change-Id: Ibbc5cbe232d73ddaeb91f13f6afbff3151c9bf0b
https://reviews.llvm.org/D158247 caused regressions for HIP on Windows and was reverted.
A reduced test case is:
It is due to clang missing handling host/device attributes for calling convention at a few places
This patch fixes that.