diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2017-07-12 23:30:02 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2017-07-12 23:30:02 +0000 |
commit | 6f7c9ad7d4ebc9bf801a594a189722877ca140f3 (patch) | |
tree | 4bf1d63f1234ef3587a58d24182f2e003ac0bafd /lldb/packages/Python/lldbsuite/test | |
parent | c1e903be19c42e2bb0d3178b463657e4a94b27b2 (diff) | |
download | bcm5719-llvm-6f7c9ad7d4ebc9bf801a594a189722877ca140f3.tar.gz bcm5719-llvm-6f7c9ad7d4ebc9bf801a594a189722877ca140f3.zip |
[CodeGenPrepare] Don't create dead instructions in addrmode sinking
When we fail to sink an instruction, we must make sure not to modify
the function; otherwise, we end up in an infinite loop because
CodeGenPrepare iterates until it doesn't make any changes.
Fixes https://bugs.llvm.org/show_bug.cgi?id=33608 .
llvm-svn: 307866
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions