[all-commits] [llvm/llvm-project] 86bc48: [BOLT][RISCV] Use target features from object file...

Job Noorman via All-commits all-commits at lists.llvm.org
Sun Oct 22 23:40:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86bc486785ee26ca527e5c830a95479c751ce11e
      https://github.com/llvm/llvm-project/commit/86bc486785ee26ca527e5c830a95479c751ce11e
  Author: Job Noorman <jnoorman at igalia.com>
  Date:   2023-10-23 (Mon, 23 Oct 2023)

  Changed paths:
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/test/RISCV/call-annotations.s
    M bolt/test/RISCV/internal-func-reloc.s

  Log Message:
  -----------
  [BOLT][RISCV] Use target features from object file (#69836)

We used to hard-code target features for RISC-V. However, most features
(with the exception of relax) are stored in the object file. This patch
extracts those features to ensure BOLT's output doesn't use any features
not present in the input file.




More information about the All-commits mailing list