-
Notifications
You must be signed in to change notification settings - Fork 116
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
Port the upstream change to optimize adding decorations #2876
Conversation
Test summary for commit 9e475f6CTS tests (Failed: 0/138443)
Ubuntu navi3x, SrdcvkUbuntu navi2x, Srdcvk |
I would suggest copying the original commit message ("Use std::undordered_set instead of std::multiset ...") into your commit message, to explain what this patch does. |
Am I missing something - the Khronos patch and this one both use a vector and not an unordered_set (although the justification is the same I think?) |
That changed during the review. If you look at the description of the PR it has been updated to "Use std::vector instead of std::multiset...". But the PR includes multiple commits, and the first of these actually did use unordered_set. |
We don't need to use |
This is to port the upstream change: KhronosGroup/SPIRV-LLVM-Translator@d56378e. It will greatly speed up the compilation time when there are lots of decorations in SPIR-V by using std::vector instead of std::multiset with custom comparator.
Test summary for commit 063c30aCTS tests (Failed: 0/138378)
Ubuntu navi3x, SrdcvkUbuntu navi2x, Srdcvk |
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
This is to port the upstream change:
KhronosGroup/SPIRV-LLVM-Translator@d56378e. It will greatly speed up the compilation time when there are lots of decorations in SPIR-V using
std::vector
instead ofstd::multiset
with custom comparator.