2 research outputs found

    Transformations for Imperfectly Nested Loops

    No full text
    Loop transformations are critical for compiling high-performance code for modern computers. Existing work has focused on transformations for perfectly nested loops (that is, loops in which all assignment statements are contained within the innermost loop of a loop nest). In practice, most loop nests, such as those in matrix factorization codes, are imperfectly nested. In some programs, imperfectly nested loops can be converted into perfectly nested loops by loop distribution, but this is not always legal. In this paper, we present an approach to transforming imperfectly nested loops directly. Our approach is an extension of the linear loop transformation framework for perfectly nested loops, and it models permutation, reversal, skewing, scaling, alignment, distribution and jamming. 1 Introduction Modern compilers perform a variety of loop transformations, like permutation, skewing, reversal, scaling, distribution and jamming, to generate high quality code for high-performance computer..
    corecore