Skip to content

Commit

Permalink
[RISCV][NFC] Fix typo in RISCVAsmPrinter::emitNTLHint
Browse files Browse the repository at this point in the history
  • Loading branch information
dtcxzyw committed Jun 11, 2023
1 parent e86f4e6 commit edd08f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void RISCVAsmPrinter::EmitToStreamer(MCStreamer &S, const MCInst &Inst) {
// instructions) auto-generated.
#include "RISCVGenMCPseudoLowering.inc"

// If the target supports Zihintnthl and the instruction has a nontemporal
// If the target supports Zihintntl and the instruction has a nontemporal
// MachineMemOperand, emit an NTLH hint instruction before it.
void RISCVAsmPrinter::emitNTLHint(const MachineInstr *MI) {
if (!STI->hasStdExtZihintntl())
Expand Down

0 comments on commit edd08f1

Please sign in to comment.