diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-01-15 01:46:09 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-01-15 01:46:09 +0000 |
commit | 8c252bde367116a2459c866eef906534b58c3c0a (patch) | |
tree | c39325c73db353fe60b82f7b080760fe10c1b4d8 /lldb/source/Commands/CommandObjectHelp.cpp | |
parent | d762df8c2478a6bf9ac1f40787c77f7b9dd38f02 (diff) | |
download | llvm-8c252bde367116a2459c866eef906534b58c3c0a.zip llvm-8c252bde367116a2459c866eef906534b58c3c0a.tar.gz llvm-8c252bde367116a2459c866eef906534b58c3c0a.tar.bz2 |
Fix PR22222
The bug was introduced in r225282. r225282 assumed that sub X, Y is
the same as add X, -Y. This is not correct if we are going to upgrade
the sub to sub nuw. This change fixes the issue by making the
optimization ignore sub instructions.
Differential Revision: http://reviews.llvm.org/D6979
llvm-svn: 226075
Diffstat (limited to 'lldb/source/Commands/CommandObjectHelp.cpp')
0 files changed, 0 insertions, 0 deletions