[all-commits] [llvm/llvm-project] 01fd65: [RISCV] Pass target-abi via module flag metadata

Zakk Chen via All-commits all-commits at lists.llvm.org
Mon Jan 27 10:11:09 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 01fd650ba3d29709e82a608dfa7fcec35606385d
      https://github.com/llvm/llvm-project/commit/01fd650ba3d29709e82a608dfa7fcec35606385d
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGen/riscv-metadata.c

  Log Message:
  -----------
  [RISCV] Pass target-abi via module flag metadata

Reviewers: lenary, asb

Reviewed By: lenary

Tags: #clang

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

(cherry picked from commit e15fb06e2d0a068de549464d72081811e7fac612)


  Commit: 7c5784746cfc6dc1906359704da5a4c95b64fb47
      https://github.com/llvm/llvm-project/commit/7c5784746cfc6dc1906359704da5a4c95b64fb47
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
    M llvm/lib/Target/RISCV/Utils/RISCVBaseInfo.h
    A llvm/test/CodeGen/RISCV/module-target-abi.ll
    A llvm/test/CodeGen/RISCV/module-target-abi2.ll

  Log Message:
  -----------
  [RISCV] Check the target-abi module flag matches the option

Reviewers: lenary, asb

Reviewed By: lenary

Tags: #llvm

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

(cherry picked from commit 1256d68093ac1696034e385bbb4cb6e516b66bea)


  Commit: 4d342b7d8e9bc6f40001011b51b5ad812535c4a6
      https://github.com/llvm/llvm-project/commit/4d342b7d8e9bc6f40001011b51b5ad812535c4a6
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
    M llvm/test/CodeGen/RISCV/subtarget-features-std-ext.ll

  Log Message:
  -----------
  Revert "[RISCV] Support ABI checking with per function target-features"

This reverts commit 7bc58a779aaa1de56fad8b1bc8e46932d2f2f1e4.
It breaks EXPENSIVE_CHECKS on Windows

(cherry picked from commit cef838e65f9a2aeecf5e19431077bc16b01a79fb)


  Commit: 72882ca30d87bd7ea85d8099e8b9d2244749b71e
      https://github.com/llvm/llvm-project/commit/72882ca30d87bd7ea85d8099e8b9d2244749b71e
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
    M llvm/test/CodeGen/RISCV/subtarget-features-std-ext.ll

  Log Message:
  -----------
  [RISCV] Support ABI checking with per function target-features

1. if users don't specific -mattr, the default target-feature come
from IR attribute.
2. fixed bug and re-land this patch

Reviewers: lenary, asb

Reviewed By: lenary

Tags: #llvm

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

(cherry picked from commit 0cb274de397a193fb37c60653b336d48a3a4f1bd)


Compare: https://github.com/llvm/llvm-project/compare/99464b7eb1d7...72882ca30d87


More information about the All-commits mailing list