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
Rework logic to preserve "scalar" operand/return type, even if vector
If isVectorIntrinsicWithScalarOpAtArg() returns true for an argument or return, we should not attempt to modify the type or use the element count, even if it is a vector. This allows the op to be identified as something that doesn't vectorize/scalarize with the width of the intrinsic, but remains the same, even if it is a vector argument.
Initial ElementCount will only be the return element count if it's a vector and isVectorIntrinsicWithScalarOpAtArg returns false.
This also returns the control flow in the loop to be closer to the original.
Remove inconsistent comment about VFABI return type assumption, since we have the accessors that tell us how to handle it for the operation.
Fix formatting.
0 commit comments