Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-136438: Make suretest_generated_cases
pass with all optimization levels#136594
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
gh-136438: Make suretest_generated_cases
pass with all optimization levels#136594
Conversation
test_generated_cases
pass with all optimization levelsCc@Eclips4 |
Uh oh!
There was an error while loading.Please reload this page.
abstract_uop_nameinbase_uop_names | ||
),f"All abstract uops should override base uops, but{abstract_uop_name} is not." | ||
ifabstract_uop_namenotinbase_uop_names: | ||
raiseAssertionError(f"All abstract uops should override base uops, " |
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.
Though I'm not sure, from an architectural point of view, that raisingAssertionError
manually is appropriate. I think we should change it toValueError
and handle it in the tests. WDYM?
Uh oh!
There was an error while loading.Please reload this page.
Now tests pass with all combinations of -OO and --without-doc-strings.
Before:
-OO
#136438