[all-commits] [llvm/llvm-project] ea0dae: [RISCV] Add Tag_RISCV_arch attribute by default wh...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Apr 21 10:54:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea0dae0961897da69b960caf68063db86312674d
      https://github.com/llvm/llvm-project/commit/ea0dae0961897da69b960caf68063db86312674d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/riscv-default-build-attributes.s

  Log Message:
  -----------
  [RISCV] Add Tag_RISCV_arch attribute by default when using clang as an assembler.

Can be disabled with -mno-default-build-attributes just like ARM.

Reviewed By: asb

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




More information about the All-commits mailing list