summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp')
-rw-r--r--gnu/llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/gnu/llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp b/gnu/llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp
deleted file mode 100644
index 7b9f673c418..00000000000
--- a/gnu/llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-//===--- AMDGPUMachineModuleInfo.cpp ----------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-/// \file
-/// AMDGPU Machine Module Info.
-///
-//
-//===----------------------------------------------------------------------===//
-
-#include "AMDGPUMachineModuleInfo.h"
-#include "llvm/IR/Module.h"
-
-namespace llvm {
-
-AMDGPUMachineModuleInfo::AMDGPUMachineModuleInfo(const MachineModuleInfo &MMI)
- : MachineModuleInfoELF(MMI) {
- LLVMContext &CTX = MMI.getModule()->getContext();
- AgentSSID = CTX.getOrInsertSyncScopeID("agent");
- WorkgroupSSID = CTX.getOrInsertSyncScopeID("workgroup");
- WavefrontSSID = CTX.getOrInsertSyncScopeID("wavefront");
-}
-
-} // end namespace llvm