From 0153e7d93cc0d2156af5f7394c538a8cf06cf170 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 7 Jul 2016 23:01:35 -0400 Subject: [PATCH] Remove test for #14722 (type instability in generic matmul) This test apparently breaks with inlining disabled. --- test/linalg/matmul.jl | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/linalg/matmul.jl b/test/linalg/matmul.jl index 0f44b8cf8479c..3ac079b930731 100644 --- a/test/linalg/matmul.jl +++ b/test/linalg/matmul.jl @@ -388,15 +388,3 @@ let @test_throws DimensionMismatch A_mul_B!(full43, full43, tri44) end end - -# Ensure that matrix multiplication with a narrower output type than input type does not -# produce allocation in the inner loop (#14722), by ensuring allocation does not change -# with the size of the input. -C1 = Array(Float32, 5, 5) -A1 = rand(Float64, 5, 5) -B1 = rand(Float64, 5, 5) -C2 = Array(Float32, 6, 6) -A2 = rand(Float64, 6, 6) -B2 = rand(Float64, 6, 6) -A_mul_B!(C1, A1, B1) -@test @allocated(A_mul_B!(C1, A1, B1)) == @allocated(A_mul_B!(C2, A2, B2))