Reland "[PowerPC] Simplify fp-to-int store optimization"
authorQiu Chaofan <qiucofan@cn.ibm.com>
Mon, 5 Jun 2023 05:25:10 +0000 (13:25 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Mon, 5 Jun 2023 05:53:08 +0000 (13:53 +0800)
commit69bc8ff76661a4d61dc32292d988789c8fd234b8
treea66f5650ed79612d3eeab850fc49e72909b21d63
parentb56c439d7dc42ae7bcbe3e3c703aad5bd992f715
Reland "[PowerPC] Simplify fp-to-int store optimization"

The build failure should be fixed by de681d53. Follow-up refactor will
be done in future patches.

This reverts commit e7c5ced0b9f0551ea17e1d2b48be86f03a772c59.
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCInstrP10.td
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/test/CodeGen/PowerPC/f128-truncateNconv.ll
llvm/test/CodeGen/PowerPC/scalar-double-ldst.ll
llvm/test/CodeGen/PowerPC/scalar-float-ldst.ll
llvm/test/CodeGen/PowerPC/store_fptoi.ll
llvm/test/CodeGen/PowerPC/vsx-partword-int-loads-and-stores.ll