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
[mypyc] Support generic primitives and add some generic primitives for vec (#21656)
Generic primitives have `RTypeVar` types in parameter and/or return
types, and these get expanded away when the primitive is added to IR.
Generic primitives let us use lowering for various `vec` operations,
many of which are generic. Using higher-level operations in the IR helps
with various optimizations. It's also easier to verify that the
generated IR is correct when the IR is less verbose.
Add generic primitives for unsafe `vec` get item op as an initial use
case. We can later use these for other `vec` operations as well.
Used some coding agent assist (mostly for tests).
0 commit comments