diff options
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIInstrInfo.h')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIInstrInfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.h b/llvm/lib/Target/AMDGPU/SIInstrInfo.h index a20b8178888..3f6a8d26651 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrInfo.h +++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.h @@ -25,6 +25,7 @@ namespace llvm { class SIInstrInfo final : public AMDGPUInstrInfo { private: const SIRegisterInfo RI; + const SISubtarget &ST; // The the inverse predicate should have the negative value. enum BranchPredicate { @@ -91,9 +92,9 @@ protected: unsigned OpIdx1) const override; public: - explicit SIInstrInfo(const AMDGPUSubtarget &st); + explicit SIInstrInfo(const SISubtarget &); - const SIRegisterInfo &getRegisterInfo() const override { + const SIRegisterInfo &getRegisterInfo() const { return RI; } |