[all-commits] [llvm/llvm-project] 05be3c: [AArch64] Add BE test coverage for popcount. NFC
David Green via All-commits
all-commits at lists.llvm.org
Tue Mar 11 13:52:43 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: 05be3ca72e392ba5055d2c3e617adaeab89e258b
https://github.com/llvm/llvm-project/commit/05be3ca72e392ba5055d2c3e617adaeab89e258b
Author: David Green <david.green at arm.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M llvm/test/CodeGen/AArch64/arm64-popcnt.ll
M llvm/test/CodeGen/AArch64/popcount.ll
Log Message:
-----------
[AArch64] Add BE test coverage for popcount. NFC
For #129843
(cherry picked from commit b673a59c9ae5583aa08a8d34a48f9409b660d826)
Commit: 32ce5b043c2b6e628e85d89df5461238632d9211
https://github.com/llvm/llvm-project/commit/32ce5b043c2b6e628e85d89df5461238632d9211
Author: David Green <david.green at arm.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/arm64-popcnt.ll
M llvm/test/CodeGen/AArch64/parity.ll
M llvm/test/CodeGen/AArch64/popcount.ll
Log Message:
-----------
[AArch64] Fix BE popcount casts. (#129879)
A bitcast, being defined as a load and a store, can change the lane
order. We need to use a NVCAST instead to keep the lanes out of the
VADDV the same in big-endian. The extracting from a v2i64 vector is
to keep the types of the nvcast legal, but also allow us to replace a
lane mov with a mov 0.
Fixes #129843
(cherry picked from commit ab811e75734a77247dae6df1579fa6f29394f200)
Compare: https://github.com/llvm/llvm-project/compare/0e96713a3b29...32ce5b043c2b
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