[all-commits] [llvm/llvm-project] fe7fc5: [AArch64] Use mov as opposed to And 0xffffffff (#9...
David Green via All-commits
all-commits at lists.llvm.org
Sun Jul 14 05:33:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe7fc54403e17b17e366adaab75256b2269fc204
https://github.com/llvm/llvm-project/commit/fe7fc54403e17b17e366adaab75256b2269fc204
Author: David Green <david.green at arm.com>
Date: 2024-07-14 (Sun, 14 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/aarch64-mull-masks.ll
M llvm/test/CodeGen/AArch64/and-mask-removal.ll
M llvm/test/CodeGen/AArch64/arm64-2012-05-09-LOADgot-bug.ll
M llvm/test/CodeGen/AArch64/arm64_32-memcpy.ll
M llvm/test/CodeGen/AArch64/arm64_32-pointer-extend.ll
M llvm/test/CodeGen/AArch64/arm64_32.ll
M llvm/test/CodeGen/AArch64/bitfield.ll
M llvm/test/CodeGen/AArch64/pr58431.ll
M llvm/test/CodeGen/AArch64/swifterror.ll
Log Message:
-----------
[AArch64] Use mov as opposed to And 0xffffffff (#98655)
This adds a tablegen pattern to use ORRWrr (mov) as opposed to i64 AND
0xffffffff, as the mov will implicitly clear the upper bits. This can be
seen as a zext(trunc(..)), and could be simpler if it is eliminated.
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