Merge pull request #6 from bfroehle/testall_pass_adce
Fix broken testall.py (NameError: PASS_AGGRESSIVE_DCE)
This commit is contained in:
commit
02326101de
1 changed files with 1 additions and 1 deletions
|
|
@ -610,7 +610,7 @@ def do_functionpassmanager():
|
|||
b.ret(Constant.int(ti, 42))
|
||||
fpm = FunctionPassManager.new(m)
|
||||
fpm.add(TargetData.new(''))
|
||||
fpm.add(PASS_AGGRESSIVE_DCE)
|
||||
fpm.add(PASS_ADCE)
|
||||
fpm.initialize()
|
||||
fpm.run(f)
|
||||
fpm.finalize()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue