diff options
author | Rahul Joshi <rjoshi@nvidia.com> | 2025-02-10 14:56:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-10 14:56:30 -0800 |
commit | 0f674cce82da851961b3e59b1bd663919e17fb65 (patch) | |
tree | 07ee43276b0b94dcb753e2629ac911dc05cce548 /llvm/lib/CodeGen/MIRPrinter.cpp | |
parent | d90399603c1db201be830a895f3b1324c4b30d07 (diff) | |
download | llvm-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.cpp | 5 |
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: |