[PATCH] D139419: [AArch64] lower abs intrinsic to new ABS instruction in GIsel
Ties Stuij via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 05:32:37 PST 2022
stuij created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
stuij requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When feature CSSC is available, the abs intrinsic should map to the
new scalar ABS instruction when using GlobalIsel
spec:
https://developer.arm.com/documentation/ddi0602/2022-09/Base-Instructions/ABS--Absolute-value-
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139419
Files:
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-abs.mir
llvm/test/CodeGen/AArch64/GlobalISel/select-abs.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139419.480445.patch
Type: text/x-patch
Size: 13393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221206/d42f95a6/attachment.bin>
More information about the llvm-commits
mailing list