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

[OPT] Use new instruction folder for for all opcodes in spec consti folding #5569

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

s-perron
Copy link
Collaborator

When folding and OpSpecConstantOp, we use the new instruction folder for
a small number of opcodes. This enable the new instruction folder for
all opcodes and uses the old one as a fall back. This allows us to
remove some code from the older folder that is now covered by the new
one.

Fixes #5499

…olding

When folding and OpSpecConstantOp, we use the new instruction folder for
a small number of opcodes. This enable the new instruction folder for
all opcodes and uses the old one as a fall back. This allows us to
remove some code from the older folder that is now covered by the new
one.

Fixes KhronosGroup#5499
@s-perron s-perron enabled auto-merge (squash) February 12, 2024 17:40
@s-perron
Copy link
Collaborator Author

This should fix https://crbug.com/oss-fuzz/66611.

Copy link
Contributor

@cassiebeckley cassiebeckley left a comment

Choose a reason for hiding this comment

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

LGTM, but do you know why glslc_tests from CI_shaderc_smoketest failed?

auto-merge was automatically disabled February 12, 2024 19:16

Head branch was modified

@s-perron s-perron enabled auto-merge (squash) February 12, 2024 19:17
@s-perron
Copy link
Collaborator Author

The smoke test failures are due to a change in validation unrelated to this change. Should be fixed with google/shaderc#1395

@s-perron s-perron merged commit b741360 into KhronosGroup:main Feb 12, 2024
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Incorrect optimization on constant propagation and eliminate-local-multi-store
2 participants