[all-commits] [llvm/llvm-project] c2ed9f: [AArch64] Use custom lowering for {U, S}INT_TO_FP w...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Thu Nov 11 00:47:46 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c2ed9fd054797b2ba1fadb2e202e3afa5ec28d0b
https://github.com/llvm/llvm-project/commit/c2ed9fd054797b2ba1fadb2e202e3afa5ec28d0b
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/fp16-v8-instructions.ll
Log Message:
-----------
[AArch64] Use custom lowering for {U,S}INT_TO_FP with i8.
With fullfp16, it is cheaper to cast the {U,S}INT_TO_FP operand to i16
first, rather than promoting it to i32. The custom lowering for
{U,S}INT_TO_FP already supports that, it just needs to be used.
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D113601
More information about the All-commits
mailing list