[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / llvm / lib / Transforms / Utils / StripNonLineTableDebugInfo.cpp
blob618c6bab3a8f1ab62a6682d7abfbc70c3df62c03
1 //===- StripNonLineTableDebugInfo.cpp -- Strip parts of Debug Info --------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "llvm/Transforms/Utils/StripNonLineTableDebugInfo.h"
10 #include "llvm/IR/DebugInfo.h"
12 using namespace llvm;
14 PreservedAnalyses
15 StripNonLineTableDebugInfoPass::run(Module &M, ModuleAnalysisManager &AM) {
16 llvm::stripNonLineTableDebugInfo(M);
17 PreservedAnalyses PA;
18 PA.preserveSet<CFGAnalyses>();
19 return PA;