Skip to content

Commit fee8fb5

Browse files
committed
Remove some unused code.
1 parent 0621dab commit fee8fb5

File tree

3 files changed

+0
-75
lines changed

3 files changed

+0
-75
lines changed

src/LoopVectorization.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ const VECTORWIDTHSYMBOL, ELTYPESYMBOL = Symbol("##Wvecwidth##"), Symbol("##Tloop
5353
include("vectorizationbase_compat/contract_pass.jl")
5454
include("vectorizationbase_compat/subsetview.jl")
5555
include("getconstindexes.jl")
56-
# include("vectorizationbase_extensions.jl")
5756
include("predicates.jl")
5857
include("map.jl")
5958
include("filter.jl")

src/vectorizationbase_compat/contract_pass.jl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11

2-
3-
4-
function check_negative(x)
5-
x isa Expr || return false
6-
x.head === :call || return false
7-
length(x.args) == 2 || return false
8-
a = first(x.args)
9-
return (a === :(-) || a == :(Base.FastMath.sub_fast))
10-
end
11-
12-
132
mulexprcost(::Number) = 0
143
mulexprcost(::Symbol) = 1
154
function mulexprcost(ex::Expr)
@@ -72,7 +61,6 @@ function recursive_muladd_search!(call, argv, cnmul::Bool = false, csub::Bool =
7261
f = first(exa)
7362
exav = @view(exa[2:end])
7463
if f === :* || f === :vmul! || f === :vmul || f == :(Base.FastMath.mul_fast)
75-
# isnmul = any(check_negative, exav)
7664
a, b = mulexpr(exav)
7765
call.args[2] = a
7866
call.args[3] = b

src/vectorizationbase_extensions.jl

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)