[all-commits] [llvm/llvm-project] 960c97: [AArch64] Expand scmp/ucmp vector operations with ...
David Green via All-commits
all-commits at lists.llvm.org
Mon Sep 16 10:45:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 960c975acd86b0135aac9396ffd311cb94e479b9
https://github.com/llvm/llvm-project/commit/960c975acd86b0135aac9396ffd311cb94e479b9
Author: David Green <david.green at arm.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/SystemZ/SystemZISelLowering.h
M llvm/test/Analysis/CostModel/AArch64/cmp.ll
M llvm/test/CodeGen/AArch64/scmp.ll
M llvm/test/CodeGen/AArch64/ucmp.ll
Log Message:
-----------
[AArch64] Expand scmp/ucmp vector operations with sub (#108830)
Unlike scalar, where AArch64 prefers expanding scmp/ucmp with select,
under Neon we can use the arithmetic expansion to generate fewer
instructions. Notably it also prevents the scalarization of vselect
during vector-legalization.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list