Make the correspondence loop a perfect loop for HLS optimization.