fix: apply findJoinPoints before pullFunDecls

`pullFunDecls` affects the effectiveness of `findJoinPoints`
This commit is contained in:
Leonardo de Moura 2022-09-23 14:00:24 -07:00
parent 004822aba4
commit 5322aa79f6

View file

@ -23,8 +23,8 @@ def builtinPassManager : PassManager := {
pullInstances,
cse,
simp,
pullFunDecls,
findJoinPoints,
pullFunDecls,
reduceJpArity,
simp { etaPoly := true, inlinePartial := true, implementedBy := true } (occurrence := 1),
specialize,