Skip to content

Commit

Permalink
Remove aggressive constprop annotation on generic_matmatmul_wrapper! (#…
Browse files Browse the repository at this point in the history
…56400)

This annotation seems unnecessary, as the method gets inlined and
there's no computation being carried out using the value of the
constant.
  • Loading branch information
jishnub authored Nov 4, 2024
1 parent 74640a1 commit 50713ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/src/matmul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ end
# this indirection allows is to specialize on the types of the wrappers of A and B to some extent,
# even though the wrappers are stripped off in mul!
# By default, we ignore the wrapper info and forward the arguments to generic_matmatmul!
Base.@constprop :aggressive function generic_matmatmul_wrapper!(C, tA, tB, A, B, α, β, @nospecialize(val))
function generic_matmatmul_wrapper!(C, tA, tB, A, B, α, β, @nospecialize(val))
generic_matmatmul!(C, tA, tB, A, B, α, β)
end

Expand Down

0 comments on commit 50713ee

Please sign in to comment.