[PATCH] D16829: An implementation of Swing Modulo Scheduling
Brendon Cahoon via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 07:49:32 PDT 2016
bcahoon added a comment.
> I'm just wondering how to generate a loop which has only one basic block. For an example,
> Run clang -emit-llvm -S --target=hexagon foo.c will generate
Try with -O2 -fno-unroll-loops. The O2 flag will generate a canonical loop with a single basic block and the -fno-unroll-loops flag makes sure the loop is not unrolled.
http://reviews.llvm.org/D16829
More information about the llvm-commits
mailing list