aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MIRPrinter.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2025-02-10 14:56:30 -0800
committerGitHub <noreply@github.com>2025-02-10 14:56:30 -0800
commit0f674cce82da851961b3e59b1bd663919e17fb65 (patch)
tree07ee43276b0b94dcb753e2629ac911dc05cce548 /llvm/lib/CodeGen/MIRPrinter.cpp
parentd90399603c1db201be830a895f3b1324c4b30d07 (diff)
downloadllvm-0f674cce82da851961b3e59b1bd663919e17fb65.zip
llvm-0f674cce82da851961b3e59b1bd663919e17fb65.tar.gz
llvm-0f674cce82da851961b3e59b1bd663919e17fb65.tar.bz2
[NFC][LLVM] Remove unused `TargetIntrinsicInfo` class (#126003)
Remove `TargetIntrinsicInfo` class as its practically unused (its pure virtual with no subclasses) and its references in the code.
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/MIRPrinter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp
index e936b16..789c628 100644
--- a/llvm/lib/CodeGen/MIRPrinter.cpp
+++ b/llvm/lib/CodeGen/MIRPrinter.cpp
@@ -1007,10 +1007,9 @@ void MIPrinter::print(const MachineInstr &MI, unsigned OpIdx,
unsigned TiedOperandIdx = 0;
if (ShouldPrintRegisterTies && Op.isReg() && Op.isTied() && !Op.isDef())
TiedOperandIdx = Op.getParent()->findTiedOperandIdx(OpIdx);
- const TargetIntrinsicInfo *TII = MI.getMF()->getTarget().getIntrinsicInfo();
Op.print(OS, MST, TypeToPrint, OpIdx, PrintDef, /*IsStandalone=*/false,
- ShouldPrintRegisterTies, TiedOperandIdx, TRI, TII);
- OS << formatOperandComment(MOComment);
+ ShouldPrintRegisterTies, TiedOperandIdx, TRI);
+ OS << formatOperandComment(MOComment);
break;
}
case MachineOperand::MO_FrameIndex: