[all-commits] [llvm/llvm-project] 08dbcc: [LTO] Store target attributes as vector of strings...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Jan 23 04:37:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08dbcc14e254396cd5765994cab97274003611bb
      https://github.com/llvm/llvm-project/commit/08dbcc14e254396cd5765994cab97274003611bb
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-01-23 (Sat, 23 Jan 2021)

  Changed paths:
    M llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
    M llvm/lib/LTO/LTOCodeGenerator.cpp
    M llvm/tools/llvm-lto/llvm-lto.cpp
    M llvm/tools/lto/lto.cpp

  Log Message:
  -----------
  [LTO] Store target attributes as vector of strings (NFC).

The target features are obtained as a list of features/attributes.
Instead of storing them in a single string, store the vector. This
matches lto::Config's behavior and simplifies the transition to
lto::backend().

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D95224




More information about the All-commits mailing list