[all-commits] [llvm/llvm-project] 938dea: [clang][RISCV] Fix ABI lowering for _Float16 for F...
Alex Bradbury via All-commits
all-commits at lists.llvm.org
Sun Mar 26 08:21:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 938deaad8ac92d9a45db8ef2d8a71fbf04958d90
https://github.com/llvm/llvm-project/commit/938deaad8ac92d9a45db8ef2d8a71fbf04958d90
Author: Alex Bradbury <asb at igalia.com>
Date: 2023-03-26 (Sun, 26 Mar 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/CodeGen/TargetInfo.cpp
M clang/test/CodeGen/RISCV/riscv32-abi.c
M clang/test/CodeGen/RISCV/riscv64-abi.c
Log Message:
-----------
[clang][RISCV] Fix ABI lowering for _Float16 for FP ABIs
For trivial cases (`_Float16` as a standalone argument), it was
previously correctly lowered to half. But the logic for catching cases
involving structs was gated off, as at the time that logic was written
the ABI for half was unclear.
This patch fixes that and adds a release note.
Differential Revision: https://reviews.llvm.org/D145074
More information about the All-commits
mailing list