summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2015-03-26 16:49:24 +0000
committerJingyue Wu <jingyue@google.com>2015-03-26 16:49:24 +0000
commit177a81578fbc7a172714481cf47f6afc44b99849 (patch)
tree3cc89cdb4098df120c70942237648b64b5d2dc57 /llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
parent09b80854e820fb469634aebd5c2975c9c24dce0d (diff)
downloadbcm5719-llvm-177a81578fbc7a172714481cf47f6afc44b99849.tar.gz
bcm5719-llvm-177a81578fbc7a172714481cf47f6afc44b99849.zip
[SLSR] handle candidate form &B[i * S]
Summary: This patch enhances SLSR to handle another candidate form &B[i * S]. If we found two candidates S1: X = &B[i * S] S2: Y = &B[i' * S] and S1 dominates S2, we can replace S2 with Y = &X[(i' - i) * S] Test Plan: slsr-gep.ll X86/no-slsr.ll: verify that we do not run SLSR on GEPs that already fit into an addressing mode Reviewers: eliben, atrick, meheff, hfinkel Reviewed By: hfinkel Subscribers: sanjoy, llvm-commits Differential Revision: http://reviews.llvm.org/D7459 llvm-svn: 233286
Diffstat (limited to 'llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud