[all-commits] [llvm/llvm-project] bbdf5c: [flang][driver] Fix opt-level option parsing
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Wed Jul 20 04:15:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bbdf5c37e38e172228963fed8ebc3c37d940ede1
https://github.com/llvm/llvm-project/commit/bbdf5c37e38e172228963fed8ebc3c37d940ede1
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2022-07-20 (Wed, 20 Jul 2022)
Changed paths:
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/test/Driver/default-optimization-pipelines.f90
Log Message:
-----------
[flang][driver] Fix opt-level option parsing
This update makes sure that `flang-new -O2 -O0` will run at `-O0` rather
than `-O2`.
This bug was identified and originally fixed by Vyacheslav Zakharin in
https://reviews.llvm.org/D130035. I've extracted the fix into a separate
patch.
co-authored by: Vyacheslav Zakharin <vyacheslav.p.zakharin at intel.com>
Differential Revision: https://reviews.llvm.org/D130104
More information about the All-commits
mailing list