Changeset View
Changeset View
Standalone View
Standalone View
polly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll
Show All 12 Lines | |||||
; RUN: | FileCheck %s | ; RUN: | FileCheck %s | ||||
; REQUIRES: asserts | ; REQUIRES: asserts | ||||
; | ; | ||||
; Check that the pattern matching detects the matrix multiplication pattern | ; Check that the pattern matching detects the matrix multiplication pattern | ||||
; in case scalar memory accesses were replaced by accesses to newly created | ; in case scalar memory accesses were replaced by accesses to newly created | ||||
; arrays. | ; arrays. | ||||
; | ; | ||||
; CHECK: The tensor contraction pattern was detected | ; CHECK: The tensor contraction pattern was detected | ||||
; CHECK: The matrix multiplication pattern was detected | |||||
; | ; | ||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" | target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" | ||||
target triple = "x86_64-unknown-unknown" | 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) { | define void @kernel_gemm(i32 %ni, i32 %nj, i32 %nk, double %A, [1024 x double]* %B, [1024 x double]* %C) { | ||||
entry: | entry: | ||||
br label %entry.split | br label %entry.split | ||||
Show All 37 Lines |