From 6531df41ae53493cddf12ced62427b54fa7e0570 Mon Sep 17 00:00:00 2001 From: Roman Gareev Date: Wed, 19 Jul 2017 17:33:42 +0000 Subject: [PATCH] [FIX] Fix pattern-matching-based-opts_11.ll. llvm-svn: 308499 --- .../pattern-matching-based-opts_11.ll | 17 ++++++++++++++--- 1 file 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 e20afdcc9c4b..cb8f284f7eda 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