Skip to content

Commit 26f7d6d

Browse files
authored
Apply suggestion from @vchuravy
1 parent e653a48 commit 26f7d6d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/compiler/optimize.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,6 @@ cse!(pm) = LLVM.API.LLVMAddEarlyCSEPass(pm)
137137

138138
function optimize!(mod::LLVM.Module, tm::LLVM.TargetMachine)
139139
addr13NoAlias(mod)
140-
if !LLVM.has_oldpm()
141-
# TODO(NewPM)
142-
return
143-
end
144140
# everying except unroll, slpvec, loop-vec
145141
# then finish Julia GC
146142
ModulePassManager() do pm

0 commit comments

Comments
 (0)