[PATCH] D98229: [AMDGPU] Remove unused function opcodeEmitsNoInsts()

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 8 18:19:06 PST 2021


ruiling created this revision.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
ruiling requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This was missed in the patch D97545 <https://reviews.llvm.org/D97545>, and cause buildbot failure.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98229

Files:
  llvm/lib/Target/AMDGPU/SIInsertSkips.cpp


Index: llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
+++ llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
@@ -70,13 +70,6 @@
 
 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) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98229.329182.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210309/38a27343/attachment.bin>


More information about the llvm-commits mailing list