Only add traversal codegen passes if needed
Only add traversal codegen passes if needed

No need to instantiate traversals that never run
stanford-ppl/spatial-lang,stanford-ppl/spatial-lang,stanford-ppl/spatial-lang,stanford-ppl/spatial-lang,stanford-ppl/spatial-lang