[PATCH] D44880: [Hexagon] peel loops with runtime small trip counts

Ikhlas Ajbar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 28 10:07:18 PDT 2018


iajbar added inline comments.


================
Comment at: test/Transforms/LoopUnroll/Hexagon/peel-small-loop.ll:6
+
+%struct.STREAM = type { %union.anon, i32, i32 }
+%union.anon = type { i32* }
----------------
mkazantsev wrote:
> mkazantsev wrote:
> > Please add a test where you force peel count to 2 and the loop cannot be peeled, I believe it will expose a bug.
> I still ask you to add such a test.
There is already a test that check this case: test/Transforms/LoopUnroll/peel-loop-irreducible.ll.


https://reviews.llvm.org/D44880





More information about the llvm-commits mailing list