
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.
26 lines
832 B
C++
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
|