summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-06-21 17:51:44 +0000
committerSanjay Patel <spatel@rotateright.com>2018-06-21 17:51:44 +0000
commit3244537a3cb30e63fb49844db3afe132ff7defb4 (patch)
treeab98757a31b9f0e1dc508fb89771c0fa0e7a61bd /llvm/lib/CodeGen/MachineSink.cpp
parent5522e968ad60a7775bd033c5ef6eb326e03f1848 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud