[llvm] e3b8d36 - [ARC,CSKY] Update getMemcpy after #98969
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 11:01:25 PDT 2024
Author: Fangrui Song
Date: 2024-07-17T11:01:20-07:00
New Revision: e3b8d3649789a59e54a32998780fb64d0663284c
URL: https://github.com/llvm/llvm-project/commit/e3b8d3649789a59e54a32998780fb64d0663284c
DIFF: https://github.com/llvm/llvm-project/commit/e3b8d3649789a59e54a32998780fb64d0663284c.diff
LOG: [ARC,CSKY] Update getMemcpy after #98969
Added:
Modified:
llvm/lib/Target/ARC/ARCISelLowering.cpp
llvm/lib/Target/CSKY/CSKYISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/ARC/ARCISelLowering.cpp b/llvm/lib/Target/ARC/ARCISelLowering.cpp
index 5dd343d97b80c..5ab27681361db 100644
--- a/llvm/lib/Target/ARC/ARCISelLowering.cpp
+++ b/llvm/lib/Target/ARC/ARCISelLowering.cpp
@@ -608,7 +608,7 @@ SDValue ARCTargetLowering::LowerCallArguments(
InVals.push_back(FIN);
MemOps.push_back(DAG.getMemcpy(
Chain, dl, FIN, ArgDI.SDV, DAG.getConstant(Size, dl, MVT::i32),
- Alignment, false, false, false, MachinePointerInfo(),
+ Alignment, false, false, /*CI=*/nullptr, false, MachinePointerInfo(),
MachinePointerInfo()));
} else {
InVals.push_back(ArgDI.SDV);
diff --git a/llvm/lib/Target/CSKY/CSKYISelLowering.cpp b/llvm/lib/Target/CSKY/CSKYISelLowering.cpp
index 869277a391a56..c3fc9f9ead5eb 100644
--- a/llvm/lib/Target/CSKY/CSKYISelLowering.cpp
+++ b/llvm/lib/Target/CSKY/CSKYISelLowering.cpp
@@ -556,7 +556,7 @@ SDValue CSKYTargetLowering::LowerCall(CallLoweringInfo &CLI,
Chain = DAG.getMemcpy(Chain, DL, FIPtr, Arg, SizeNode, Alignment,
/*IsVolatile=*/false,
- /*AlwaysInline=*/false, IsTailCall,
+ /*AlwaysInline=*/false, /*CI=*/nullptr, IsTailCall,
MachinePointerInfo(), MachinePointerInfo());
ByValArgs.push_back(FIPtr);
}
More information about the llvm-commits
mailing list