-
Notifications
You must be signed in to change notification settings - Fork 63
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
test: secret_inserts.mlir is flakey #987
Comments
When I remove the first function of that test, the test is no longer flakey! |
I'm guessing there's a secretness lattice issue then - somehow it's probably recalculating the secretness analysis when the other function is present to make the secretness of the static index var that's looped over back to secret I found evidence by this by printing out when the secretness of the for op's induction variable was and wasn't secret, in the incorrect cases, it applied the transform again because the induction var was somehow secret. |
@asraa Do you have a fix in the works for this, or should I start looking at this? |
My fix was to move this heir/lib/Transforms/ConvertSecretInsertToStaticInsert/ConvertSecretInsertToStaticInsert.cpp Line 80 in d58ccf8
If you can reliably repro the flake, please check! I ran it for like 500 times and couldn't get a failure anymore. |
This issue has 1 outstanding TODOs:
This comment was autogenerated by todo-backlinks |
At head in CI I see that
tests/convert_secret_insert_to_static_insert/secret_inserts.mlir
flakily fails (maybe 2/10 runs).Here's the two outputs for the @insert_and_sum file:
or
The text was updated successfully, but these errors were encountered: