[VE] Change to use EXTRACT_SUBREG instead of COPY_TO_REGCLASS
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Thu, 4 Jun 2020 07:05:19 +0000 (09:05 +0200)
committerSimon Moll <simon.moll@emea.nec.com>
Thu, 4 Jun 2020 07:05:36 +0000 (09:05 +0200)
commit6b461ba4590f531cf3aafca8a1a4bfa896f5e5c8
treef751801e2842262fe2cd09d55284a0e6d2ca8aa2
parenta3e3986be122bd1cdebe7f7f69c3d1c4c22c4690
[VE] Change to use EXTRACT_SUBREG instead of COPY_TO_REGCLASS

Summary:
Change to use EXTRACT_SUBREG instead of COPY_TO_REGCLASS in order to
remove unnecessary copy instructions.

Differential Revision: https://reviews.llvm.org/D81129
12 files changed:
llvm/lib/Target/VE/VEInstrInfo.td
llvm/test/CodeGen/VE/call.ll
llvm/test/CodeGen/VE/cast.ll
llvm/test/CodeGen/VE/constants.ll
llvm/test/CodeGen/VE/fp_add.ll
llvm/test/CodeGen/VE/fp_div.ll
llvm/test/CodeGen/VE/fp_mul.ll
llvm/test/CodeGen/VE/fp_sub.ll
llvm/test/CodeGen/VE/fp_to_int.ll
llvm/test/CodeGen/VE/selectccf32i.ll
llvm/test/CodeGen/VE/setccf32i.ll
llvm/test/CodeGen/VE/va_caller.ll