From 299420b69ee58ee0334e344fb9f6766eab75c27b Mon Sep 17 00:00:00 2001 From: Ruiling Song Date: Tue, 9 Mar 2021 10:11:36 +0800 Subject: [PATCH] [AMDGPU] Remove unused function opcodeEmitsNoInsts() This was missed in the patch D97545, and cause buildbot failure. Reviewed by: critson Differential Revision: https://reviews.llvm.org/D98229 --- lib/Target/AMDGPU/SIInsertSkips.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/Target/AMDGPU/SIInsertSkips.cpp b/lib/Target/AMDGPU/SIInsertSkips.cpp index 66ab2a6e5ab..439453e5354 100644 --- a/lib/Target/AMDGPU/SIInsertSkips.cpp +++ b/lib/Target/AMDGPU/SIInsertSkips.cpp @@ -70,13 +70,6 @@ INITIALIZE_PASS_END(SIInsertSkips, DEBUG_TYPE, char &llvm::SIInsertSkipsPassID = SIInsertSkips::ID; -static bool opcodeEmitsNoInsts(const MachineInstr &MI) { - if (MI.isMetaInstruction()) - return true; - - return false; -} - static void generateEndPgm(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, const SIInstrInfo *TII, bool IsPS) {