diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-06-21 17:51:44 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-06-21 17:51:44 +0000 |
commit | 3244537a3cb30e63fb49844db3afe132ff7defb4 (patch) | |
tree | ab98757a31b9f0e1dc508fb89771c0fa0e7a61bd /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 5522e968ad60a7775bd033c5ef6eb326e03f1848 (diff) | |
download | bcm5719-llvm-3244537a3cb30e63fb49844db3afe132ff7defb4.tar.gz bcm5719-llvm-3244537a3cb30e63fb49844db3afe132ff7defb4.zip |
[InstCombine] use constant pattern matchers with icmp+sext
The previous code worked with vectors, but it failed when the
vector constants contained undef elements.
The matchers handle those cases.
llvm-svn: 335262
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions