Skip to content

Commit

Permalink
Respond to feedback.
Browse files Browse the repository at this point in the history
As title
  • Loading branch information
stuartarchibald committed Oct 13, 2020
1 parent b5b7de2 commit 449d0f5
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions numba/core/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1127,15 +1127,8 @@ def _pass_manager_builder(self, **kwargs):
or function pass manager. Otherwise some optimizations will be
missed...
"""
if 'opt' in kwargs:
opt_level = kwargs.pop('opt')
else:
opt_level = config.OPT

if 'loop_vectorize' in kwargs:
loop_vectorize = kwargs.pop('loop_vectorize')
else:
loop_vectorize = config.LOOP_VECTORIZE
opt_level = kwargs.pop('opt', config.OPT)
loop_vectorize = kwargs.pop('loop_vectorize', config.LOOP_VECTORIZE)

pmb = lp.create_pass_manager_builder(
opt=opt_level, loop_vectorize=loop_vectorize, **kwargs)
Expand Down

0 comments on commit 449d0f5

Please sign in to comment.