[llvm-branch-commits] [mlir] [mlir][SCF] Fold unused `index_switch` results (PR #173560)
lonely eagle via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Dec 28 09:29:18 PST 2025
linuxlonelyeagle wrote:
> > Part of it is the functionality of remove-dead-values, but I believe it ought to be implemented within remove-dead-values.
>
> Whatever a canonicalizer can do without a dataflow analysis should be done: the fact that another more complex pass can do it isn't a reason to not canonicalize: it less heavyweight and more generally applicable.
make semse.
https://github.com/llvm/llvm-project/pull/173560
More information about the llvm-branch-commits
mailing list