llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h
Kazu Hirata 06f06deb77 [PowerPC] Fix a warning
This patch fixes:

  llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:25:3: error:
  'EmitTargetCodeForMemcmp' overrides a member function but is not
  marked 'override' [-Werror,-Winconsistent-missing-override]
2025-08-07 10:43:58 -07:00

33 lines
1.1 KiB
C++

//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TARGET_POWERPC_PPCSELECTIONDAGINFO_H
#define LLVM_LIB_TARGET_POWERPC_PPCSELECTIONDAGINFO_H
#include "llvm/CodeGen/SelectionDAGTargetInfo.h"
namespace llvm {
class PPCSelectionDAGInfo : public SelectionDAGTargetInfo {
public:
~PPCSelectionDAGInfo() override;
bool isTargetMemoryOpcode(unsigned Opcode) const override;
bool isTargetStrictFPOpcode(unsigned Opcode) const override;
std::pair<SDValue, SDValue>
EmitTargetCodeForMemcmp(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain,
SDValue Op1, SDValue Op2, SDValue Op3,
const CallInst *CI) const override;
};
} // namespace llvm
#endif // LLVM_LIB_TARGET_POWERPC_PPCSELECTIONDAGINFO_H