[PATCH] D20172: [AArch64] Disable narrow load merge by default
Jun Bum Lim via llvm-commits
llvm-commits at lists.llvm.org
Fri May 20 11:52:13 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL270251: [AArch64] Disable narrow load merge by default (authored by junbuml).
Changed prior to commit:
http://reviews.llvm.org/D20172?vs=56920&id=57963#toc
Repository:
rL LLVM
http://reviews.llvm.org/D20172
Files:
llvm/trunk/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll
Index: llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll
===================================================================
--- llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll
+++ llvm/trunk/test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -mtriple aarch64--none-eabi -mcpu=cortex-a57 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=LE
-; RUN: llc < %s -mtriple aarch64_be--none-eabi -mcpu=cortex-a57 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=BE
-; RUN: llc < %s -mtriple aarch64--none-eabi -mcpu=kryo -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=LE
+; RUN: llc < %s -mtriple aarch64--none-eabi -mcpu=cortex-a57 -verify-machineinstrs -enable-narrow-ld-merge=true | FileCheck %s --check-prefix=CHECK --check-prefix=LE
+; RUN: llc < %s -mtriple aarch64_be--none-eabi -mcpu=cortex-a57 -verify-machineinstrs -enable-narrow-ld-merge=true | FileCheck %s --check-prefix=CHECK --check-prefix=BE
+; RUN: llc < %s -mtriple aarch64--none-eabi -mcpu=kryo -verify-machineinstrs -enable-narrow-ld-merge=true | FileCheck %s --check-prefix=CHECK --check-prefix=LE
; CHECK-LABEL: Ldrh_merge
; CHECK-NOT: ldrh
Index: llvm/trunk/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
===================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
+++ llvm/trunk/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
@@ -52,7 +52,7 @@
cl::Hidden);
static cl::opt<bool> EnableNarrowLdMerge("enable-narrow-ld-merge", cl::Hidden,
- cl::init(true),
+ cl::init(false),
cl::desc("Enable narrow load merge"));
namespace llvm {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20172.57963.patch
Type: text/x-patch
Size: 1865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160520/de113c0c/attachment.bin>
More information about the llvm-commits
mailing list