diff options
author | Roman Gareev <gareevroman@gmail.com> | 2017-07-19 17:33:42 +0000 |
---|---|---|
committer | Roman Gareev <gareevroman@gmail.com> | 2017-07-19 17:33:42 +0000 |
commit | 6531df41ae53493cddf12ced62427b54fa7e0570 (patch) | |
tree | e335617688861bbce9c28002e75a9794e0ba59e5 /polly/test | |
parent | 30629f7dbc78992e032d85004d15d0218b3dcd76 (diff) | |
download | bcm5719-llvm-6531df41ae53493cddf12ced62427b54fa7e0570.tar.gz bcm5719-llvm-6531df41ae53493cddf12ced62427b54fa7e0570.zip |
[FIX] Fix pattern-matching-based-opts_11.ll.
llvm-svn: 308499
Diffstat (limited to 'polly/test')
-rw-r--r-- | polly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/polly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll b/polly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll index e20afdcc9c4..cb8f284f7ed 100644 --- a/polly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll +++ b/polly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll @@ -1,7 +1,15 @@ ; RUN: opt %loadPolly -polly-import-jscop \ -; RUN: -polly-import-jscop-postfix=transformed -polly -polly-delicm \ -; RUN: -polly-delicm-overapproximate-writes -polly-pattern-matching-based-opts \ -; RUN: -polly-opt-isl -debug < %s 2>&1 | FileCheck %s +; RUN: -polly-import-jscop-postfix=transformed \ +; RUN: -polly-pattern-matching-based-opts=true \ +; RUN: -polly-target-throughput-vector-fma=1 \ +; RUN: -polly-target-latency-vector-fma=8 \ +; RUN: -polly-target-1st-cache-level-associativity=8 \ +; RUN: -polly-target-2nd-cache-level-associativity=8 \ +; RUN: -polly-target-1st-cache-level-size=32768 \ +; RUN: -polly-target-vector-register-bitwidth=256 \ +; RUN: -polly-target-2nd-cache-level-size=262144 \ +; RUN: -polly-opt-isl -debug < %s 2>&1 \ +; RUN: | FileCheck %s ; ; Check that the pattern matching detects the matrix multiplication pattern ; in case scalar memory accesses were replaced by accesses to newly created @@ -9,6 +17,9 @@ ; ; CHECK: The matrix multiplication pattern was detected ; +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-unknown" + define void @kernel_gemm(i32 %ni, i32 %nj, i32 %nk, double %A, [1024 x double]* %B, [1024 x double]* %C) { entry: br label %entry.split |