[PowerPC] Improved codegen related to xscvdpsxws/xscvdpuxws
authorAlbion Fung <albionapc@gmail.com>
Thu, 30 Sep 2021 18:45:29 +0000 (13:45 -0500)
committerAlbion Fung <albionapc@gmail.com>
Thu, 30 Sep 2021 19:31:00 +0000 (14:31 -0500)
commit4195ed995993410b4a8ba2835fee71d4fe01c410
tree1f05ebc2de2940c87c74805a82d0b51dc6766f15
parent80f4bb5c61930c51b2eac6c5575198516483eff1
[PowerPC] Improved codegen related to xscvdpsxws/xscvdpuxws

This patch removes the uneccessary mf/mtvsr generated in conjunction
with xscvdpsxws/xscvdpuxws.

Differential revision: https://reviews.llvm.org/D109902
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/test/CodeGen/PowerPC/test-vector-insert.ll
llvm/test/CodeGen/PowerPC/vec_conv_fp64_to_i32_elts.ll