[all-commits] [llvm/llvm-project] 8e8237: [clang][RISCV] Set HasLegalHalfType to true if zhi...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Thu May 18 07:11:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e82376863460f6dc2dbb7fe6754af3ba69cc9c4
      https://github.com/llvm/llvm-project/commit/8e82376863460f6dc2dbb7fe6754af3ba69cc9c4
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-05-18 (Thu, 18 May 2023)

  Changed paths:
    M clang/lib/Basic/Targets/RISCV.cpp
    M clang/test/CodeGen/RISCV/Float16-arith.c

  Log Message:
  -----------
  [clang][RISCV] Set HasLegalHalfType to true if zhinx is enabled

Now that codegen support for zhinx in landed (D149811), we should set
HasLegalHalfType=true for zhinx (see D145071 for the patch doing this
for zfh).

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




More information about the All-commits mailing list