[all-commits] [llvm/llvm-project] 40a51e: [AArch64][SVE]: custom lower AVGFloor/AVGCeil.
hassnaaHamdi via All-commits
all-commits at lists.llvm.org
Mon Mar 13 12:01:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 40a51e1afce989c2adc503cbca2a6cce4a587d84
https://github.com/llvm/llvm-project/commit/40a51e1afce989c2adc503cbca2a6cce4a587d84
Author: Hassnaa Hamdi <hassnaa.hamdi at arm.com>
Date: 2023-03-13 (Mon, 13 Mar 2023)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
A llvm/test/CodeGen/AArch64/sve-hadd.ll
R llvm/test/CodeGen/AArch64/sve2-hadd.ll
Log Message:
-----------
[AArch64][SVE]: custom lower AVGFloor/AVGCeil.
-Lower AVGFloor(A, B) to:
SRL(A) + SRL(B) + (A&B)&1.
-Lower AVGCeil(A, B) to:
SRL(A) + SRL(B) + (A|B)&1.
Differential Revision: https://reviews.llvm.org/D143283
More information about the All-commits
mailing list