summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/lea-opt.ll
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-12-17 07:34:39 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-12-17 07:34:39 +0000
commit7b72b658cc9bf083d413fa34863eee956c3d03eb (patch)
tree50bbcccf60a1ac2757620f4143c2a98e118083af /llvm/test/CodeGen/X86/lea-opt.ll
parent8fbad24d1820d18b8929d28d73a20be0fea31028 (diff)
downloadbcm5719-llvm-7b72b658cc9bf083d413fa34863eee956c3d03eb.tar.gz
bcm5719-llvm-7b72b658cc9bf083d413fa34863eee956c3d03eb.zip
[X86] Add option for enabling LEA optimization pass, by Andrey Turetsky
Add option to enable/disable LEA optimization pass. By default the pass is disabled. Differential Revision: http://reviews.llvm.org/D15573 llvm-svn: 255881
Diffstat (limited to 'llvm/test/CodeGen/X86/lea-opt.ll')
-rw-r--r--llvm/test/CodeGen/X86/lea-opt.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/lea-opt.ll b/llvm/test/CodeGen/X86/lea-opt.ll
index c105b31995b..571f2d9084c 100644
--- a/llvm/test/CodeGen/X86/lea-opt.ll
+++ b/llvm/test/CodeGen/X86/lea-opt.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux -enable-x86-lea-opt | FileCheck %s
%struct.anon1 = type { i32, i32, i32 }
%struct.anon2 = type { i32, [32 x i32], i32 }
OpenPOWER on IntegriCloud