Changeset View
Changeset View
Standalone View
Standalone View
polly/test/ScheduleOptimizer/pattern-matching-based-opts.ll
Show All 11 Lines | |||||
; C[i][j] *= beta; | ; C[i][j] *= beta; | ||||
; for (k = 0; k < _PB_NK; ++k) | ; for (k = 0; k < _PB_NK; ++k) | ||||
; C[i][j] += alpha * A[i][k] * B[k][j]; | ; C[i][j] += alpha * A[i][k] * B[k][j]; | ||||
; } | ; } | ||||
; | ; | ||||
; CHECK-NOT: The matrix multiplication pattern was detected | ; CHECK-NOT: The matrix multiplication pattern was detected | ||||
; CHECK-NOT: The tensor contraction pattern was detected | ; CHECK-NOT: The tensor contraction pattern was detected | ||||
; PATTERN-MATCHING-OPTS: The tensor contraction pattern was detected | ; PATTERN-MATCHING-OPTS: The tensor contraction pattern was detected | ||||
; PATTERN-MATCHING-OPTS: The matrix multiplication pattern was detected | |||||
; PARALLEL-AST-NOT: #pragma known-parallel | ; PARALLEL-AST-NOT: #pragma known-parallel | ||||
; STATS: 1 polly-opt-isl - Number of matrix multiplication patterns detected and optimized | ; STATS: 1 polly-opt-isl - Number of matrix multiplication patterns detected and optimized | ||||
; | ; | ||||
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 internal void @kernel_gemm(i32 %arg, i32 %arg1, i32 %arg2, double %arg3, double %arg4, [1056 x double]* %arg5, [1024 x double]* %arg6, [1056 x double]* %arg7) #0 { | define internal void @kernel_gemm(i32 %arg, i32 %arg1, i32 %arg2, double %arg3, double %arg4, [1056 x double]* %arg5, [1024 x double]* %arg6, [1056 x double]* %arg7) #0 { | ||||
bb: | bb: | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |