From 2e03213f90b0c443a4f3415757e8893d70420a85 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Mon, 19 Dec 2016 17:13:37 +0000 Subject: [LoopVersioning] Require loop-simplify form for loop versioning. Summary: Requiring loop-simplify form for loop versioning ensures that the runtime check block always dominates the exit block. This patch closes #30958 (https://llvm.org/bugs/show_bug.cgi?id=30958). Reviewers: silviu.baranga, hfinkel, anemet, ashutosh.nema Subscribers: ashutosh.nema, mzolotukhin, efriedma, hfinkel, llvm-commits Differential Revision: https://reviews.llvm.org/D27469 llvm-svn: 290116 --- llvm/test/Transforms/LoopVectorize/diag-with-hotness-info.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/test/Transforms/LoopVectorize') diff --git a/llvm/test/Transforms/LoopVectorize/diag-with-hotness-info.ll b/llvm/test/Transforms/LoopVectorize/diag-with-hotness-info.ll index 04bd5df2465..43bf9ceb217 100644 --- a/llvm/test/Transforms/LoopVectorize/diag-with-hotness-info.ll +++ b/llvm/test/Transforms/LoopVectorize/diag-with-hotness-info.ll @@ -10,7 +10,8 @@ ; RUN: -pass-remarks-with-hotness < %s 2>&1 | \ ; RUN: FileCheck -check-prefix=HOTNESS -check-prefix=BOTH %s -; RUN: opt -S -passes=loop-vectorize -pass-remarks-missed=loop-vectorize < %s 2>&1 | \ +; RUN: opt -S -passes=loop-vectorize \ +; RUN: -pass-remarks-missed=loop-vectorize < %s 2>&1 | \ ; RUN: FileCheck -check-prefix=NO_HOTNESS -check-prefix=BOTH %s -- cgit v1.2.3