[DAG] Unroll and expand illegal result of LDEXP and POWI instead of widen.
authortianleli <tianle.l.liu@intel.com>
Wed, 21 Jun 2023 03:05:46 +0000 (11:05 +0800)
committerPhoebe Wang <phoebe.wang@intel.com>
Wed, 21 Jun 2023 06:27:39 +0000 (14:27 +0800)
commit1c2727581378677152cfb4909358e6b9e4b9b3ad
tree8103842d1a49c4d59550cba18bd46254a8086752
parent48abcf11ada1e0b300d907dcdb3cf7b191fdc85e
[DAG] Unroll and expand illegal result of LDEXP and POWI instead of widen.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D153104
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/PowerPC/ldexp.ll
llvm/test/CodeGen/X86/ldexp.ll
llvm/test/CodeGen/X86/powi.ll