[all-commits] [llvm/llvm-project] 61e919: [RISCV] Add errors for mixing Zcmp with C/Zcd and D.

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jun 21 00:10:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61e91988bc3801b7fbe48f4c044f2b72199fbe6e
      https://github.com/llvm/llvm-project/commit/61e91988bc3801b7fbe48f4c044f2b72199fbe6e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-06-21 (Wed, 21 Jun 2023)

  Changed paths:
    M llvm/lib/Support/RISCVISAInfo.cpp
    M llvm/unittests/Support/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Add errors for mixing Zcmp with C/Zcd and D.

We already had an error for Zcmt though it appears to be untested
Add similar one for Zcmp along with tests for both.

Factor the code to share the strings as much as possible.

Reviewed By: VincentWu

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




More information about the All-commits mailing list