Skip to content

Commit

Permalink
Remove some unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Dec 7, 2020
1 parent 0621dab commit fee8fb5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 75 deletions.
1 change: 0 additions & 1 deletion src/LoopVectorization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const VECTORWIDTHSYMBOL, ELTYPESYMBOL = Symbol("##Wvecwidth##"), Symbol("##Tloop
include("vectorizationbase_compat/contract_pass.jl")
include("vectorizationbase_compat/subsetview.jl")
include("getconstindexes.jl")
# include("vectorizationbase_extensions.jl")
include("predicates.jl")
include("map.jl")
include("filter.jl")
Expand Down
12 changes: 0 additions & 12 deletions src/vectorizationbase_compat/contract_pass.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@



function check_negative(x)
x isa Expr || return false
x.head === :call || return false
length(x.args) == 2 || return false
a = first(x.args)
return (a === :(-) || a == :(Base.FastMath.sub_fast))
end


mulexprcost(::Number) = 0
mulexprcost(::Symbol) = 1
function mulexprcost(ex::Expr)
Expand Down Expand Up @@ -72,7 +61,6 @@ function recursive_muladd_search!(call, argv, cnmul::Bool = false, csub::Bool =
f = first(exa)
exav = @view(exa[2:end])
if f === :* || f === :vmul! || f === :vmul || f == :(Base.FastMath.mul_fast)
# isnmul = any(check_negative, exav)
a, b = mulexpr(exav)
call.args[2] = a
call.args[3] = b
Expand Down
62 changes: 0 additions & 62 deletions src/vectorizationbase_extensions.jl

This file was deleted.

2 comments on commit fee8fb5

@chriselrod
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/25970

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.9.3 -m "<description of version>" fee8fb5674760a18862686a06b44af1d43860495
git push origin v0.9.3

Please sign in to comment.