diff options
| author | Alex Bradbury <asb@lowrisc.org> | 2018-01-03 13:46:21 +0000 |
|---|---|---|
| committer | Alex Bradbury <asb@lowrisc.org> | 2018-01-03 13:46:21 +0000 |
| commit | 46db78b74353f6976d4a8293f93ab51ef7fae550 (patch) | |
| tree | cadc75b407e9e641742a5834849eff56197c0838 /llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp | |
| parent | dcc0ba9bbb27ed3f27e14e2b75ba229fda058787 (diff) | |
| download | bcm5719-llvm-46db78b74353f6976d4a8293f93ab51ef7fae550.tar.gz bcm5719-llvm-46db78b74353f6976d4a8293f93ab51ef7fae550.zip | |
[ARM][NFC] Avoid recreating MCSubtargetInfo in ARMAsmBackend
After D41349, we can now directly access MCSubtargetInfo from
createARM*AsmBackend. This patch makes use of this, avoiding the need to
create a fresh MCSubtargetInfo (which was previously always done with a blank
CPU and feature string). Given the total size of the change remains pretty
tiny and we're removing the old explicit destructor, I changed the STI field
to a reference rather than a pointer.
Differential Revision: https://reviews.llvm.org/D41693
llvm-svn: 321707
Diffstat (limited to 'llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp')
0 files changed, 0 insertions, 0 deletions

