Loading llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp +7 −5 Original line number Diff line number Diff line Loading @@ -244,11 +244,6 @@ static raw_ostream& operator<<(raw_ostream &OS, const DstUnused &Un) { return OS; } static raw_ostream& operator<<(raw_ostream &OS, const SDWAOperand &Operand) { Operand.print(OS); return OS; } LLVM_DUMP_METHOD void SDWASrcOperand::print(raw_ostream& OS) const { OS << "SDWA src: " << *getTargetOperand() Loading Loading @@ -850,6 +845,13 @@ SIPeepholeSDWA::matchSDWAOperand(MachineInstr &MI) { return std::unique_ptr<SDWAOperand>(nullptr); } #if !defined(NDEBUG) static raw_ostream& operator<<(raw_ostream &OS, const SDWAOperand &Operand) { Operand.print(OS); return OS; } #endif void SIPeepholeSDWA::matchSDWAOperands(MachineBasicBlock &MBB) { for (MachineInstr &MI : MBB) { if (auto Operand = matchSDWAOperand(MI)) { Loading Loading
llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp +7 −5 Original line number Diff line number Diff line Loading @@ -244,11 +244,6 @@ static raw_ostream& operator<<(raw_ostream &OS, const DstUnused &Un) { return OS; } static raw_ostream& operator<<(raw_ostream &OS, const SDWAOperand &Operand) { Operand.print(OS); return OS; } LLVM_DUMP_METHOD void SDWASrcOperand::print(raw_ostream& OS) const { OS << "SDWA src: " << *getTargetOperand() Loading Loading @@ -850,6 +845,13 @@ SIPeepholeSDWA::matchSDWAOperand(MachineInstr &MI) { return std::unique_ptr<SDWAOperand>(nullptr); } #if !defined(NDEBUG) static raw_ostream& operator<<(raw_ostream &OS, const SDWAOperand &Operand) { Operand.print(OS); return OS; } #endif void SIPeepholeSDWA::matchSDWAOperands(MachineBasicBlock &MBB) { for (MachineInstr &MI : MBB) { if (auto Operand = matchSDWAOperand(MI)) { Loading