Loop interchange
The compiler swaps an inner and an outer loop so memory is read in the order it's actually laid out.
C stores two-dimensional arrays row by row, Fortran column by column. If the inner loop runs over the wrong index, each load jumps a full row ahead in memory and the cache fetches 64 bytes to use eight. After the swap the elements are read in sequence, cache lines are fully used, and the inner loop becomes easy to vectorise as a bonus. Same code, same result, sometimes several times faster.
The interchange is only legal if the dependences between iterations allow the new order, which the compiler checks with dependence vectors. In practice the pass is cautious, and anyone porting numerical code from Fortran to C is better off flipping the loops themselves than hoping.