diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2015-10-01 22:43:53 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2015-10-01 22:43:53 +0000 |
commit | b491a2d641add36f1a2f7674d6b5df038c2d638e (patch) | |
tree | 390e86021cf8883cb91294b99ec658b8b215d116 /lldb/source/Expression/Materializer.cpp | |
parent | b733f00510e9ea1e737b4efd88516fc47c90e4f1 (diff) | |
download | bcm5719-llvm-b491a2d641add36f1a2f7674d6b5df038c2d638e.tar.gz bcm5719-llvm-b491a2d641add36f1a2f7674d6b5df038c2d638e.zip |
[SimplifyLibCalls] Fix instruction misplacement in string/memory libcall optimization
When trying to optimize fortified library functions use the right
location to insert new instructions in order to preserve correct
def-use order.
This fixes an issue where a misplaced instruction definition would
happen to be *after* one of its use after a RAUW, forming invalid IR.
This behavior was introduced by r227250.
Differential Revision: http://reviews.llvm.org/D13301
rdar://problem/22802369
llvm-svn: 249092
Diffstat (limited to 'lldb/source/Expression/Materializer.cpp')
0 files changed, 0 insertions, 0 deletions