[all-commits] [llvm/llvm-project] 9914ee: [flang] Fix -debug crash from VScaleAttrPass (#180...
Philipp Rados via All-commits
all-commits at lists.llvm.org
Tue Feb 10 02:46:28 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9914ee6ef4b78d62055734290afe879a7ae1a036
https://github.com/llvm/llvm-project/commit/9914ee6ef4b78d62055734290afe879a7ae1a036
Author: Philipp Rados <philipp.rados at openchip.com>
Date: 2026-02-10 (Tue, 10 Feb 2026)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Optimizer/Passes/Pipelines.cpp
M flang/lib/Optimizer/Transforms/VScaleAttr.cpp
A flang/test/Transforms/vscale-attr.fir
Log Message:
-----------
[flang] Fix -debug crash from VScaleAttrPass (#180234)
This pass splits up the `vscaleRange` pass-option from the
`VScaleAttrPass` into `vscaleMin` and `vscaleMax` respectively, since a
`std::pair<>` cannot be used as a cli-option and crashes when running
`flang -march=rv64gcv -O3 file.f90 -mmlir -debug`.
Since the options can now be set individually I added some error
checking following the semantics described in the langref
https://llvm.org/docs/LangRef.html#function-attributes.
I also added tests since there were none for only this pass before.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list