1. A computer implemented method, comprising: inserting reorganization operations into a loop with misaligned accesses to satisfy alignment constraints; identifying stream shift operations with runtime relative alignments; versioning the loop based on the runtime relative alignment creating loop versions; and generating code for the loop versions.