Potential missed optimization with mutable noalias #85570
Labels
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
I-slow
Issue: Problems and improvements with respect to performance of generated code.
https://godbolt.org/z/9TY68vcjq
In the above code the methods on the struct that owns the array are not SIMD optimized but the methods on struct which has a reference are SIMD optimized.
On stable or with -Zmutable-noalias=off all methods are not SIMD optimized.
Is this a missed optimization or is there a real difference between owning the array and having a reference?
The text was updated successfully, but these errors were encountered: