[all-commits] [llvm/llvm-project] a7e13d: [clang][RISCV][test] Add test coverage for _Float1...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Wed Mar 15 11:01:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7e13d6f1b49d72b59e9ec2252399eda717ea8f6
      https://github.com/llvm/llvm-project/commit/a7e13d6f1b49d72b59e9ec2252399eda717ea8f6
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M clang/test/CodeGen/RISCV/riscv32-abi.c
    M clang/test/CodeGen/RISCV/riscv64-abi.c

  Log Message:
  -----------
  [clang][RISCV][test] Add test coverage for _Float16 ABI lowering

By the psABI, any test case where a FPR would be used for a float, it
should also be used if you replaced that float with a _Float16. This
doesn't hold true in current Clang for the special cases in the FP
calling convention involving structs. This patch doesn't attempt to fix
that, simply to add coverage. D145074 contains the fix.

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




More information about the All-commits mailing list