[llvm-branch-commits] [llvm] [CodeGen] Move EnableSinkAndFold to TargetOptions (PR #114746)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 4 09:42:07 PST 2024


https://github.com/arsenm commented:

We want to moving things out of TargetOptions, not into. Can we turn this into a pass parameter, and just let the targets set it when they add the pass to the pipeline?

Alternatively it seems to be just one debug flag, could move it directly into the pass instead of making targets create aliased cl::opts 

https://github.com/llvm/llvm-project/pull/114746


More information about the llvm-branch-commits mailing list