[all-commits] [llvm/llvm-project] d2d2e5: [clang][Driver] Update/cleanup LTO logic to ensure...
Usman Nadeem via All-commits
all-commits at lists.llvm.org
Wed Sep 8 15:49:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d2d2e5ea480feb09dc0edeac2eb14310de74b372
https://github.com/llvm/llvm-project/commit/d2d2e5ea480feb09dc0edeac2eb14310de74b372
Author: Usman Nadeem <mnadeem at quicinc.com>
Date: 2021-09-08 (Wed, 08 Sep 2021)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/test/Driver/amdgpu-toolchain.c
M clang/test/Driver/lto.c
Log Message:
-----------
[clang][Driver] Update/cleanup LTO logic to ensure that the last lto argument is honored
- Make flto an alias of flto=full.
- Make foffload-lto an alias of foffload-lto=full.
- Make flto_EQ_jobserver, flto_EQ_auto aliases of flto=full,
since they are being treated as full lto right now.
- Clean up the code for parseLTOMode and setLTOMode.
- Replace uses of OPT_flto with OPT_flto_EQ since they alias now.
Change-Id: Iea5338c20cb800b43529b20745e92600e2cfd2b1
More information about the All-commits
mailing list