diff options
author | John Brawn <john.brawn@arm.com> | 2017-11-24 14:10:45 +0000 |
---|---|---|
committer | John Brawn <john.brawn@arm.com> | 2017-11-24 14:10:45 +0000 |
commit | 70cdb5b3914803ca89a96a867a47936d049a4b32 (patch) | |
tree | 41ed4c542765843f1e4ca8864af8b42a937cea24 /llvm/lib/Support/FileOutputBuffer.cpp | |
parent | 590f0793e8c7f25a7d993031436928823cd2c95a (diff) | |
download | llvm-70cdb5b3914803ca89a96a867a47936d049a4b32.zip llvm-70cdb5b3914803ca89a96a867a47936d049a4b32.tar.gz llvm-70cdb5b3914803ca89a96a867a47936d049a4b32.tar.bz2 |
[CGP] Make optimizeMemoryInst able to combine more kinds of ExtAddrMode fields
This patch extends the recent work in optimizeMemoryInst to make it able to
combine more ExtAddrMode fields than just the BaseReg.
This fixes some benchmark regressions introduced by r309397, where GVN PRE is
hoisting a getelementptr such that it can no longer be combined into the
addressing mode of the load or store that uses it.
Differential Revision: https://reviews.llvm.org/D38133
llvm-svn: 318949
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions