[AMDGPU] Remove unused function opcodeEmitsNoInsts()
authorRuiling Song <ruiling.song@amd.com>
Tue, 9 Mar 2021 02:11:36 +0000 (10:11 +0800)
committerRuiling Song <ruiling.song@amd.com>
Tue, 9 Mar 2021 02:48:30 +0000 (10:48 +0800)
This was missed in the patch D97545, and cause buildbot failure.

Reviewed by: critson

Differential Revision: https://reviews.llvm.org/D98229

llvm/lib/Target/AMDGPU/SIInsertSkips.cpp

index 66ab2a6..439453e 100644 (file)
@@ -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) {