-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Open
Labels
backend:AArch64enhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing featurellvm:instcombineCovers the InstCombine, InstSimplify and AggressiveInstCombine passesCovers the InstCombine, InstSimplify and AggressiveInstCombine passesmissed-optimization
Description
- test case, see https://gcc.godbolt.org/z/9E5beqnWW
void foo ( float *restrict fi, real *restrict f, int ci) {
/* Add accumulated i-forces to the force array */
for (int i = 0; i < UNROLLI; i++) {
for (int d = 0; d < DIM; d++) {
f[(ci*UNROLLI+i)*F_STRIDE+d] += fi[i*FI_STRIDE+d];
}
}
return;
}
- gcc: SLP
- llvm: unroll
Metadata
Metadata
Assignees
Labels
backend:AArch64enhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing featurellvm:instcombineCovers the InstCombine, InstSimplify and AggressiveInstCombine passesCovers the InstCombine, InstSimplify and AggressiveInstCombine passesmissed-optimization