You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a loop has loop carrying variables that are secret, then the inner type conversion to a ciphertext needs to happen. The secret-to-scheme passes rely on TypeWithAttrTypeConverter - but this code doesn't handle that case:
In addition, affine for loops are converted in secret-to-scheme with a generic ConvertAny pass that intends to convert operands and regions. But that code relies on the base TypeConverter, so it doesn't actually convert secret types (see SecretToCKKSTypeConverter's conversion callbacks):
If a loop has loop carrying variables that are secret, then the inner type conversion to a ciphertext needs to happen. The secret-to-scheme passes rely on TypeWithAttrTypeConverter - but this code doesn't handle that case:
heir/lib/Utils/ConversionUtils.cpp
Line 297 in ad59e8f
In addition, affine for loops are converted in secret-to-scheme with a generic ConvertAny pass that intends to convert operands and regions. But that code relies on the base TypeConverter, so it doesn't actually convert secret types (see SecretToCKKSTypeConverter's conversion callbacks):
heir/lib/Utils/ConversionUtils.cpp
Lines 40 to 72 in ad59e8f
Here's a reproducer:
Fix incoming.
The text was updated successfully, but these errors were encountered: