[llvm] [PowerPC] improve P10 store forwarding on P7 scalar to vector (PR #102330)
Chen Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 18:21:45 PDT 2024
================
@@ -11479,9 +11492,33 @@ SDValue PPCTargetLowering::LowerSCALAR_TO_VECTOR(SDValue Op,
EVT PtrVT = getPointerTy(DAG.getDataLayout());
SDValue FIdx = DAG.getFrameIndex(FrameIdx, PtrVT);
+ SDValue Val = Op.getOperand(0);
+ EVT ValVT = Val.getValueType();
+ // P10 hardware store forwarding requires that a single store contains all
+ // the data for the load. P10 is able to merge a pair of adjacent stores. Try
----------------
chenzheng1030 wrote:
Thanks for explanation. Got it.
https://github.com/llvm/llvm-project/pull/102330
More information about the llvm-commits
mailing list