[polly] r294569 - [FIX] Specify the CPU to overwrite the machine info and set a fixed vector

Roman Gareev via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 00:29:55 PST 2017


Author: romangareev
Date: Thu Feb  9 02:29:55 2017
New Revision: 294569

URL: http://llvm.org/viewvc/llvm-project?rev=294569&view=rev
Log:
[FIX] Specify the CPU to overwrite the machine info and set a fixed vector
size.

Modified:
    polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_5.ll
    polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_6.ll

Modified: polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_5.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_5.ll?rev=294569&r1=294568&r2=294569&view=diff
==============================================================================
--- polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_5.ll (original)
+++ polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_5.ll Thu Feb  9 02:29:55 2017
@@ -16,7 +16,7 @@
 ; RUN: -polly-target-1st-cache-level-size=32768 \
 ; RUN: -polly-target-vector-register-bitwidth=256 \
 ; RUN: -polly-target-2nd-cache-level-size=262144 -gvn -licm -slp-vectorizer \
-; RUN: -stats -S < %s 2>&1 | FileCheck %s --check-prefix=AUTO-VECTORIZATION
+; RUN: -mcpu=corei7 -stats -S < %s 2>&1 | FileCheck %s --check-prefix=AUTO-VECTORIZATION
 ;
 ;
 ;    /* We isolate a set of partial tile prefixes, which contains only partial

Modified: polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_6.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_6.ll?rev=294569&r1=294568&r2=294569&view=diff
==============================================================================
--- polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_6.ll (original)
+++ polly/trunk/test/ScheduleOptimizer/pattern-matching-based-opts_6.ll Thu Feb  9 02:29:55 2017
@@ -16,7 +16,8 @@
 ; RUN: -polly-target-1st-cache-level-size=32768 \
 ; RUN: -polly-target-vector-register-bitwidth=256 \
 ; RUN: -polly-target-2nd-cache-level-size=262144 -gvn -licm -slp-vectorizer \
-; RUN: -stats -S < %s 2>&1 | FileCheck %s --check-prefix=AUTO-VECTORIZATION
+; RUN: -mcpu=corei7 -stats -S < %s 2>&1 | FileCheck %s \
+; RUN: --check-prefix=AUTO-VECTORIZATION
 ;
 ;
 ;    /* We isolate a set of partial tile prefixes, which contains only partial




More information about the llvm-commits mailing list