diff options
author | Craig Topper <craig.topper@intel.com> | 2020-07-04 14:35:49 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-07-04 14:35:49 -0700 |
commit | 76123d338dc542d25cc9c4f20ddc49df1b9712cd (patch) | |
tree | 9ab3819eca03d39c8a324d8ceed3dc174fcc237d /clang/lib | |
parent | 6c4a5e9257bac022ffe60e466686ba7fc96ffd1a (diff) | |
download | llvm-76123d338dc542d25cc9c4f20ddc49df1b9712cd.zip llvm-76123d338dc542d25cc9c4f20ddc49df1b9712cd.tar.gz llvm-76123d338dc542d25cc9c4f20ddc49df1b9712cd.tar.bz2 |
[DAGCombiner] visitSIGN_EXTEND_INREG should fold sext_vector_inreg(undef) to 0 not undef.
We need to ensure that the sign bits of the result all match
so we can't fold to undef.
Similar to PR46585.
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D83163
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions