[flang-commits] [clang] [flang] [llvm] [mlir] [Support][NFC] Move OptimizationLevel to the Support directory (PR #157057)
David Sherwood via flang-commits
flang-commits at lists.llvm.org
Fri Sep 5 05:15:49 PDT 2025
david-arm wrote:
> And what's wrong with Passes anyway?
>
See https://github.com/llvm/llvm-project/pull/156802 for a motivation for this change. If anybody wants to reference a constant variable from OptimizationLevel (OptimizationLevel::O0, for example) they have to add the extra Passes dependency, which seems a bit much for one variable. It felt like there wasn't really an obvious reason why OptimizationLevel had to live in the Passes directory either, and since most passes seem to require the Support directory anyway I thought it made sense to move it there? Having said that, I'm happy moving it somewhere else that isn't Passes if there are good suggestions!
https://github.com/llvm/llvm-project/pull/157057
More information about the flang-commits
mailing list