[PATCH] [AArch64] Enhance the load/store optimizer to use target-specific alias analysis.
Chad Rosier
mcrosier at codeaurora.org
Thu May 21 10:26:35 PDT 2015
Minor revisions.
1. Check mayAlias on FirstMI if we're merging forward.
2. Check mayAlias on MI if we're not merging forward.
The previous patch would stop looking for a pair if we encountered an instruction that aliased with FirstMI. This isn't a problem, however, if we're merging the second instruction into the first.
Correctness still looks good across the board.
Performance looks flat on cortex-a57. The number of ldp/stp generated increased across the board for all things I tested.
http://reviews.llvm.org/D9863
Files:
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
test/CodeGen/AArch64/arm64-ldp-aa.ll
test/CodeGen/AArch64/arm64-stp-aa.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9863.26252.patch
Type: text/x-patch
Size: 12062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150521/76d8fa48/attachment.bin>
More information about the llvm-commits
mailing list