[all-commits] [llvm/llvm-project] cf65af: [AArch64][GISel] Extend lowering for fp round intr...
David Green via All-commits
all-commits at lists.llvm.org
Thu Aug 17 08:25:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf65afbf93a8cd61ed797a5d23513b8d46ddabb2
https://github.com/llvm/llvm-project/commit/cf65afbf93a8cd61ed797a5d23513b8d46ddabb2
Author: David Green <david.green at arm.com>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-ceil.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-frint.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-intrinsic-round.mir
A llvm/test/CodeGen/AArch64/GlobalISel/legalize-intrinsic-roundeven.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-intrinsic-trunc.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-nearbyint.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
M llvm/test/CodeGen/AArch64/fcvt.ll
Log Message:
-----------
[AArch64][GISel] Extend lowering for fp round intrinsics.
This extends the lowering of ceil, floor, nearbyint, rint, round, roundeven and
trunc. They are all very similar, so can reuse the same legalization info.
selectIntrinsicTrunc and selectIntrinsicRound can be removed as they can be
selected via tablegen patterns, and G_INTRINSIC_ROUNDEVEN is marked as a gisel
equivalent of froundeven. Otherwise this reuses the existing code, filling it
out to handle more types.
Differential Revision: https://reviews.llvm.org/D157679
More information about the All-commits
mailing list