[all-commits] [llvm/llvm-project] ea2376: [AArch64] Verify ldp/stp alignment stricter (#84124)
Yuta Mukai via All-commits
all-commits at lists.llvm.org
Wed Mar 6 03:20:09 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea23761429faa4e61d7a601da9a313dfdc058cb0
https://github.com/llvm/llvm-project/commit/ea23761429faa4e61d7a601da9a313dfdc058cb0
Author: Yuta Mukai <mukai.yuta at fujitsu.com>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
A llvm/test/CodeGen/AArch64/ldp-stp-unknown-size.mir
Log Message:
-----------
[AArch64] Verify ldp/stp alignment stricter (#84124)
When ldp-aligned-only/stp-aligned-only is specified, modified to cancel
ldp/stp transformation if MachineMemOperand is not present or the access
size is unknown.
In the previous implementation, the test passed when there was no
MachineMemOperand. Also, if the size was unknown, an incorrect value was
used or an assertion failed. (But actually, if there is no
MachineMemOperand, it will be excluded from the target by
isCandidateToMergeOrPair() before reaching the part.)
A statistic NumFailedAlignmentCheck is added. NumPairCreated is modified
so that it only counts if it is not canceled.
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