summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DFAPacketizer.cpp
diff options
context:
space:
mode:
authorZvi Rackover <zvi.rackover@intel.com>2016-09-26 06:42:07 +0000
committerZvi Rackover <zvi.rackover@intel.com>2016-09-26 06:42:07 +0000
commit839d15a194a658dfe407e1681514231455138360 (patch)
tree554c7066bdf9216a5962edd93e21927bf4d9705c /llvm/lib/CodeGen/DFAPacketizer.cpp
parent9d68b64c00e43a5b5430c5cdbd78f4ae85aab0b4 (diff)
downloadbcm5719-llvm-839d15a194a658dfe407e1681514231455138360.tar.gz
bcm5719-llvm-839d15a194a658dfe407e1681514231455138360.zip
[X86] Optimization for replacing LEA with MOV at frame index elimination time
Summary: Replace a LEA instruction of the form 'lea (%esp), %ebx' --> 'mov %esp, %ebx' MOV is preferable over LEA because usually there are more issue-slots available to execute MOVs than LEAs. Latest processors also support zero-latency MOVs. Fixes pr29022. Reviewers: hfinkel, delena, igorb, myatsina, mkuper Differential Revision: https://reviews.llvm.org/D24705 llvm-svn: 282385
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud