[X86] Add option for enabling LEA optimization pass, by Andrey Turetsky
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 17 Dec 2015 07:34:39 +0000 (07:34 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 17 Dec 2015 07:34:39 +0000 (07:34 +0000)
commitd5572b6d8ddab855032857984eb4506d90668ad6
tree79482a24a16dc11995482ad457df636d43c5a933
parent98f658e2a0fc7e5ba03d078399afe6d342b57353
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255881 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86OptimizeLEAs.cpp
test/CodeGen/X86/lea-opt.ll