diff options
author | John Brawn <john.brawn@arm.com> | 2017-11-27 11:29:15 +0000 |
---|---|---|
committer | John Brawn <john.brawn@arm.com> | 2017-11-27 11:29:15 +0000 |
commit | 4b476488baeb5216a46e51bcdff0c8de366260a5 (patch) | |
tree | e8211071c65f24617118da719ae47d64d776afbd /lldb/packages/Python/lldbsuite/test | |
parent | f3c0aec9713ab5ed7a6a19f627680d376446b805 (diff) | |
download | bcm5719-llvm-4b476488baeb5216a46e51bcdff0c8de366260a5.tar.gz bcm5719-llvm-4b476488baeb5216a46e51bcdff0c8de366260a5.zip |
[CGP] Fix handling of null pointer values in optimizeMemoryInst
The current way that trivial addressing modes are detected incorrectly thinks
that null pointers are non-trivial, leading to an infinite loop where we keep
duplicating the same select. Fix this by aware of null when deciding if an
addressing mode is trivial.
Differential Revision: https://reviews.llvm.org/D40447
llvm-svn: 319019
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions