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

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 21:12:30 PDT 2018


mkazantsev 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:
> 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.


https://reviews.llvm.org/D44880





More information about the llvm-commits mailing list