diff options
author | Craig Topper <craig.topper@gmail.com> | 2020-02-03 22:43:33 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2020-02-03 22:59:39 -0800 |
commit | 4581d97416129cb2346de5041efc98891b13459d (patch) | |
tree | 75df22a4162c6350b279422c56f346b24e3a6bcf /llvm/lib/Analysis/ValueTracking.cpp | |
parent | abe6d1174df422915958c49c0367471c2de5df7a (diff) | |
download | llvm-4581d97416129cb2346de5041efc98891b13459d.zip llvm-4581d97416129cb2346de5041efc98891b13459d.tar.gz llvm-4581d97416129cb2346de5041efc98891b13459d.tar.bz2 |
[X86] Remove some uncovered and possibly broken code from combineZext.
This code matches (zext (trunc (setcc_carry))) -> (and (setcc_carry), 1)
but the code never checks what type we're truncating too. An and
mask of 1 would only make sense if the trunc was to MVT::i1, but
we didn't check for that.
I believe this code is a leftover from when i1 was a legal type.
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions