[PATCH] D14244: [AArch64]Enable the narrow ld promotion only on profitable microarchitectures

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 09:12:42 PST 2015


junbuml created this revision.
junbuml added reviewers: jmolloy, mcrosier, ab, mzolotukhin.
junbuml added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

The benefit from converting narrow loads into a wider loads (r251438) could be 
micro-architecturally dependent, as it assumes that a single load with two bitfield
extracts is cheaper than two narrow loads. Currently, this conversion is enabled
only in cortex-a57 on which performance benefits were verified.

http://reviews.llvm.org/D14244

Files:
  lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  test/CodeGen/AArch64/arm64-ldp.ll
  test/CodeGen/AArch64/arm64-ldr-merge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14244.38936.patch
Type: text/x-patch
Size: 6769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151102/07e69e15/attachment.bin>


More information about the llvm-commits mailing list