[llvm] 67a05f4 - [AMDGPU] Remove unused function opcodeEmitsNoInsts()
Ruiling Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 8 18:51:51 PST 2021
Author: Ruiling Song
Date: 2021-03-09T10:48:30+08:00
New Revision: 67a05f4e09f08685b2898c6aa3597b06c57fa6ea
URL: https://github.com/llvm/llvm-project/commit/67a05f4e09f08685b2898c6aa3597b06c57fa6ea
DIFF: https://github.com/llvm/llvm-project/commit/67a05f4e09f08685b2898c6aa3597b06c57fa6ea.diff
LOG: [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
Added:
Modified:
llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIInsertSkips.cpp b/llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
index 66ab2a6e5abe..439453e53548 100644
--- a/llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
+++ b/llvm/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) {
More information about the llvm-commits
mailing list