projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2f84a
)
[AMDGPU] Remove unused function opcodeEmitsNoInsts()
author
Ruiling Song
<ruiling.song@amd.com>
Tue, 9 Mar 2021 02:11:36 +0000
(10:11 +0800)
committer
Ruiling 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
b/llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
index
66ab2a6
..
439453e
100644
(file)
--- 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) {