aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2020-02-03 22:43:33 -0800
committerCraig Topper <craig.topper@gmail.com>2020-02-03 22:59:39 -0800
commit4581d97416129cb2346de5041efc98891b13459d (patch)
tree75df22a4162c6350b279422c56f346b24e3a6bcf /llvm/lib/Analysis/ValueTracking.cpp
parentabe6d1174df422915958c49c0367471c2de5df7a (diff)
downloadllvm-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