[PATCH] D19760: [AArch64] Turn on "aarch64-ssa-load-store-opt" by default

Jongwon Lee via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 19:13:31 PDT 2016


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

This patch turns on "aarch64-ssa-load-store-opt" by default.

http://reviews.llvm.org/D19760

Files:
  lib/Target/AArch64/AArch64TargetMachine.cpp
  test/CodeGen/AArch64/ssa-ldst-opt.ll

Index: test/CodeGen/AArch64/ssa-ldst-opt.ll
===================================================================
--- test/CodeGen/AArch64/ssa-ldst-opt.ll
+++ test/CodeGen/AArch64/ssa-ldst-opt.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=aarch64 -verify-machineinstrs -asm-verbose=false -aarch64-ssa-load-store-opt -o - %s | FileCheck %s
+; RUN: llc -march=aarch64 -verify-machineinstrs -asm-verbose=false -o - %s | FileCheck %s
 
 ; This test is for 'AArch64 load/store optimization in SSA form'.
 ; Find consecutive two 32-bit loads and consecutive two 32-bit stores that write the values of the consecutive 32-bit loads.
Index: lib/Target/AArch64/AArch64TargetMachine.cpp
===================================================================
--- lib/Target/AArch64/AArch64TargetMachine.cpp
+++ lib/Target/AArch64/AArch64TargetMachine.cpp
@@ -111,7 +111,7 @@
     EnableSSALoadStoreOpt("aarch64-ssa-load-store-opt",
                           cl::desc("Enable the load/store pair"
                                    " optimization pass in SSA form"),
-                          cl::init(false), cl::Hidden);
+                          cl::init(true), cl::Hidden);
 
 extern "C" void LLVMInitializeAArch64Target() {
   // Register the target.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19760.55702.patch
Type: text/x-patch
Size: 1234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160430/7c3c5025/attachment.bin>


More information about the llvm-commits mailing list