aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-07-21 21:26:45 +0000
committerSanjay Patel <spatel@rotateright.com>2016-07-21 21:26:45 +0000
commita3bfb4e313718713df0f2323321b8f0fd3b1fcca (patch)
tree577711bdded3aefea68f8409e1cedb319083eb87 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent84a6425d61d323304f5b4753df9c986906fdca0c (diff)
downloadllvm-a3bfb4e313718713df0f2323321b8f0fd3b1fcca.zip
llvm-a3bfb4e313718713df0f2323321b8f0fd3b1fcca.tar.gz
llvm-a3bfb4e313718713df0f2323321b8f0fd3b1fcca.tar.bz2
[InstSimplify] recognize trunc + icmp sgt/slt variants of select simplifications (PR28466)
rL245171 exposed a hole in InstSimplify that manifested in a strange way in PR28466: https://llvm.org/bugs/show_bug.cgi?id=28466 It's possible to use trunc + icmp sgt/slt in place of an and + icmp eq/ne, so we need to recognize that pattern to eliminate selects that are choosing between some value and some bitmasked version of that value. Note that there is significant room for improvement (refactoring) and enhancement (more patterns, possibly in InstCombine rather than here). Differential Revision: https://reviews.llvm.org/D22537 llvm-svn: 276341
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions