llvm-project/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.h
Matt Arsenault cf54cae26b
AMDGPU/NewPM: Port SIFixSGPRCopies to new pass manager (#102614)
This allows moving some tests relying on -stop-after=amdgpu-isel
to move to checking -stop-after=finalize-isel instead, which
will more reliably pass the verifier.
2024-08-09 17:52:41 +04:00

26 lines
832 B
C++

//===- SIFixSGPRCopies.h ----------------------------------------*- 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_AMDGPU_SIFIXSGPRCOPIES_H
#define LLVM_LIB_TARGET_AMDGPU_SIFIXSGPRCOPIES_H
#include "llvm/CodeGen/MachinePassManager.h"
namespace llvm {
class SIFixSGPRCopiesPass : public PassInfoMixin<SIFixSGPRCopiesPass> {
public:
SIFixSGPRCopiesPass() = default;
PreservedAnalyses run(MachineFunction &MF,
MachineFunctionAnalysisManager &MFAM);
};
} // namespace llvm
#endif // LLVM_LIB_TARGET_AMDGPU_SIFIXSGPRCOPIES_H