google / google/heir

Only apply SIMD vectorization to tensors that are secret

Open
#869 4 comments 0 reactions 0 assignees View on GitHub
dialect: tensor_ext
Dominant language
MLIR
Stars
906
Forks
171
Avg merge
4d 12h
Merged PRs (30d)
32

Description

Now that we have `SecretnessAnalysis`, we could update the `--heir-simd-vectorizer` to only apply its transformations to tensors that are indeed `secret`.

It might be a good idea to make the implementation a bit more generic, so that one can specify an analysis and only have it apply to values where the analysis is true (e.g., for advanced scenarios where one is mixing SIMD arithmetic FHE and non-SIMD boolean FHE).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.