diff options
author | Jun Bum Lim <junbuml@codeaurora.org> | 2017-03-17 19:05:21 +0000 |
---|---|---|
committer | Jun Bum Lim <junbuml@codeaurora.org> | 2017-03-17 19:05:21 +0000 |
commit | 4230101def6b834063bea59ad1d8f96aee8b4b31 (patch) | |
tree | 214876a5562054734e106948c592514a0e2aacf0 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | cf1f6fb1b27d343efa79757fd44bc96442b7fe7f (diff) | |
download | llvm-4230101def6b834063bea59ad1d8f96aee8b4b31.zip llvm-4230101def6b834063bea59ad1d8f96aee8b4b31.tar.gz llvm-4230101def6b834063bea59ad1d8f96aee8b4b31.tar.bz2 |
[CodeGenPrep]Restructure promoting Ext to form ExtLoad
Summary:
Instead of just looking for a load which is mergable with Ext to form ExtLoad, trying to promote Exts as long as the cost is acceptable. This change is not a NFC as it continue promoting Exts even after finding a load during promotions; the change in arm64-codegen-prepare-extload.ll described in 2.b might show the case.
This change was motivated from D26524. Based on this change, I will move the transformation performed in aarch64-type-promotion into CGP.
Reviewers: jmolloy, qcolombet, mcrosier, javed.absar
Reviewed By: qcolombet
Subscribers: rengolin, llvm-commits, aemerson
Differential Revision: https://reviews.llvm.org/D27853
llvm-svn: 298114
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions