[InstCombine] Add undef elements support for shrinkFPConstantVector
authorChenbing Zheng <Chenbing.Zheng@streamcomputing.com>
Thu, 25 Aug 2022 02:38:48 +0000 (10:38 +0800)
committerChenbing Zheng <Chenbing.Zheng@streamcomputing.com>
Thu, 25 Aug 2022 02:38:48 +0000 (10:38 +0800)
commit14fae4d136036d7967a3d819945677f7a892f2da
treed1992ccd9c60339aef79abd1075e950ea6a9763e
parente7796c9673c19dbbdc9a3911692d04f9981272b5
[InstCombine] Add undef elements support for shrinkFPConstantVector

Reviewed By: RKSimon, spatel

Differential Revision: https://reviews.llvm.org/D132343
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/test/Transforms/InstCombine/fpextend.ll