[all-commits] [llvm/llvm-project] 891172: [RISCV] Use 'riscv-isa' module flag to set ELF fla...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Mar 20 11:35:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 891172d9be01dd7c7e5298f2d8fdb143add448da
      https://github.com/llvm/llvm-project/commit/891172d9be01dd7c7e5298f2d8fdb143add448da
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    A llvm/test/CodeGen/RISCV/attributes-module-flag.ll
    A llvm/test/CodeGen/RISCV/module-elf-flags.ll

  Log Message:
  -----------
  [RISCV] Use 'riscv-isa' module flag to set ELF flags and attributes. (#85155)

Walk all the ISA strings and set the subtarget bits for any extension we
find in any string.

This allows LTO output to have a ELF attributes from the union of all of
the files used to compile it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list