[all-commits] [llvm/llvm-project] 03cf0e: [LTO] Fix Veclib flags correctly pass to LTO flags...
Paschalis Mpeis via All-commits
all-commits at lists.llvm.org
Thu Jan 25 01:29:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 03cf0e9354e7e56ff794e9efb682ed2971bc91ec
https://github.com/llvm/llvm-project/commit/03cf0e9354e7e56ff794e9efb682ed2971bc91ec
Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/fveclib.c
Log Message:
-----------
[LTO] Fix Veclib flags correctly pass to LTO flags (#78749)
Flags `-fveclib=name` were not passed to LTO flags.
This pass fixes that by converting the `-fveclib` flags to their
relevant names for opt's `-vector-lib=name` flags.
For example:
`-fveclib=SLEEF` would become `-vector-library=sleefgnuabi` and passed
through the `-plugin-opt` flag.
More information about the All-commits
mailing list