PowerPC: Fix SPE extloadf32 handling.
authorJustin Hibbits <jrh29@alumni.cwru.edu>
Thu, 16 Apr 2020 14:42:39 +0000 (09:42 -0500)
committerJustin Hibbits <jrh29@alumni.cwru.edu>
Sat, 1 Aug 2020 03:42:57 +0000 (22:42 -0500)
commit914dbf4808d46632cc7b8dda861a11f978083416
tree54dc345da0775eb3221b7fd0b8d7701418937528
parent605fd4d77ce19c4d8c331732b490ef436ab093c2
PowerPC: Fix SPE extloadf32 handling.

The patterns were incorrect copies from the FPU code, and are
unnecessary, since there's no extended load for SPE.  Just let LLVM
itself do the work by marking it expand.

Reviewed By: #powerpc, lkail
Differential Revision: https://reviews.llvm.org/D78670
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrSPE.td
llvm/test/CodeGen/PowerPC/spe.ll