[all-commits] [llvm/llvm-project] a93607: [AArch64] Remove always true Perfect cost check. NFC
David Green via All-commits
all-commits at lists.llvm.org
Fri Apr 8 04:16:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a93607c479092ccae41c033f8d27fe99621ddef3
https://github.com/llvm/llvm-project/commit/a93607c479092ccae41c033f8d27fe99621ddef3
Author: David Green <david.green at arm.com>
Date: 2022-04-08 (Fri, 08 Apr 2022)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Log Message:
-----------
[AArch64] Remove always true Perfect cost check. NFC
Perfect shuffle costs are always encoded less than 4, and shouldn't
really have a cost more than 3, so it makes no sense to check it when
generating shuffles. The perfect shuffle is likely always better than a
tbl too (although that may depend on whether it is in a loop).
More information about the All-commits
mailing list