[llvm] 393e12b - R600ISelLowering.h: Silence a warning. [-Warray-parameter]
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 10 02:30:20 PDT 2022
Author: NAKAMURA Takumi
Date: 2022-07-10T18:29:55+09:00
New Revision: 393e12bddd4293e841604ed3089f9eb410bfd539
URL: https://github.com/llvm/llvm-project/commit/393e12bddd4293e841604ed3089f9eb410bfd539
DIFF: https://github.com/llvm/llvm-project/commit/393e12bddd4293e841604ed3089f9eb410bfd539.diff
LOG: R600ISelLowering.h: Silence a warning. [-Warray-parameter]
FIXME: Could it be rewritten with llvm::ArrayRef ?
Added:
Modified:
llvm/lib/Target/AMDGPU/R600ISelLowering.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/R600ISelLowering.h b/llvm/lib/Target/AMDGPU/R600ISelLowering.h
index 9135f778edf06..e7706fa0ef5ce 100644
--- a/llvm/lib/Target/AMDGPU/R600ISelLowering.h
+++ b/llvm/lib/Target/AMDGPU/R600ISelLowering.h
@@ -74,7 +74,7 @@ class R600TargetLowering final : public AMDGPUTargetLowering {
void lowerImplicitParameter(MachineInstr *MI, MachineBasicBlock &BB,
MachineRegisterInfo & MRI, unsigned dword_offset) const;
- SDValue OptimizeSwizzle(SDValue BuildVector, SDValue Swz[4],
+ SDValue OptimizeSwizzle(SDValue BuildVector, SDValue Swz[],
SelectionDAG &DAG, const SDLoc &DL) const;
SDValue vectorToVerticalVector(SelectionDAG &DAG, SDValue Vector) const;
More information about the llvm-commits
mailing list