[all-commits] [llvm/llvm-project] 57b5f4: [RISCV][Clang] Compute the default target-abi if i...

Zakk Chen via All-commits all-commits at lists.llvm.org
Fri Dec 10 09:22:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57b5f4b2ecc6aeed5328086aa533d706adb008d1
      https://github.com/llvm/llvm-project/commit/57b5f4b2ecc6aeed5328086aa533d706adb008d1
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2021-12-10 (Fri, 10 Dec 2021)

  Changed paths:
    M clang/lib/Basic/Targets/RISCV.cpp
    M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
    M clang/test/CodeGen/RISCV/riscv-metadata.c
    M llvm/include/llvm/Support/TargetParser.h
    M llvm/lib/Support/TargetParser.cpp

  Log Message:
  -----------
  [RISCV][Clang] Compute the default target-abi if it's empty.

Every generated IR has a corresponding target-abi value, so
encoding a non-empty value would improve the robustness and
correctness.

Reviewed By: asb, jrtc27, arichardson

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




More information about the All-commits mailing list