[PowerPC] Cust lower fpext v2f32 to v2f64 from extract_subvector v4f32
commit839ff79c6a7329afb9e357ec3bdf8921dcb1ed84
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 16 Sep 2019 22:54:52 +0000 (16 22:54 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 16 Sep 2019 22:54:52 +0000 (16 22:54 +0000)
tree1b9501750ec6d28d4c855aea25ced25c9d515486
parentd81fc2e8c389f46a1f2e0fbca35e72b7f845bee4
[PowerPC] Cust lower fpext v2f32 to v2f64 from extract_subvector v4f32

Add the missing piece of r372029.
Somehow when the patch for review D61961 was committed, only the test case
went in and the code didn't. This of course caused all kinds of build bot
breaks.
This patch just adds the code for that patch.

Author: Lei Huang
Differential revision: https://reviews.llvm.org/D61961

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372043 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/PowerPC/PPCInstrVSX.td