mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-01-05 23:23:53 +00:00
Do not use separate utility to walk all instructions and remove dead dbg intrinsics. Let instcombiner do this job.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
//===-- Transform/Utils/DbgInfoUtils.h - DbgInfo Utils ----------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// Utility functions to manipulate debugging information.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TRANSFORMS_UTILS_DBGINFO_H
|
||||
#define LLVM_TRANSFORMS_UTILS_DBGINFO_H
|
||||
namespace llvm {
|
||||
class BasicBlock;
|
||||
class Function;
|
||||
|
||||
/// RemoveDeadDbgIntrinsics - Remove dead dbg intrinsics from this
|
||||
/// basic block.
|
||||
void RemoveDeadDbgIntrinsics(BasicBlock &BB);
|
||||
|
||||
/// RemoveDeadDbgIntrinsics - Remove dead dbg intrinsics from this function.
|
||||
void RemoveDeadDbgIntrinsics(Function &F);
|
||||
|
||||
} // End llvm namespace
|
||||
#endif
|
||||
Reference in New Issue
Block a user