[all-commits] [llvm/llvm-project] f664be: [LTO] Fix Veclib flags correctly pass to LTO flags

Paschalis Mpeis via All-commits all-commits at lists.llvm.org
Tue Jan 23 01:40:59 PST 2024


  Branch: refs/heads/users/paschalis-mpeis/fix-pass-veclib-lto-flags
  Home:   https://github.com/llvm/llvm-project
  Commit: f664beed712de47796759586a171d86d73fb9790
      https://github.com/llvm/llvm-project/commit/f664beed712de47796759586a171d86d73fb9790
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2024-01-23 (Tue, 23 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

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.


  Commit: f1baf76580f331064ddee83751f77af77b985ba2
      https://github.com/llvm/llvm-project/commit/f1baf76580f331064ddee83751f77af77b985ba2
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M clang/test/Driver/fveclib.c

  Log Message:
  -----------
  Add targets to tests that call addLTOOptions

Tests that do not call addLTOOptions were removed.


  Commit: edb1833b9d9caef485424a95e22d6f1dd15ac2c4
      https://github.com/llvm/llvm-project/commit/edb1833b9d9caef485424a95e22d6f1dd15ac2c4
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M clang/test/Driver/fveclib.c

  Log Message:
  -----------
  Addressing reviewers


Compare: https://github.com/llvm/llvm-project/compare/f82dadfb125c...edb1833b9d9c


More information about the All-commits mailing list