[llvm] [PowerPC] Update chain uses when emitting lxsizx (PR #84892)
Qiu Chaofan via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 13 02:31:15 PDT 2024
================
@@ -15024,6 +15024,7 @@ SDValue PPCTargetLowering::combineFPToIntToFP(SDNode *N,
SDValue Ld = DAG.getMemIntrinsicNode(PPCISD::LXSIZX, dl,
DAG.getVTList(MVT::f64, MVT::Other),
Ops, MVT::i8, LDN->getMemOperand());
+ DAG.ReplaceAllUsesOfValueWith(FirstOperand.getValue(1), Ld.getValue(1));
----------------
ecnelises wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/84892
More information about the llvm-commits
mailing list