[RISCV] Move NTLH hint emission into RISCVAsmPrinter.cpp.
authorCraig Topper <craig.topper@sifive.com>
Mon, 1 May 2023 19:05:16 +0000 (12:05 -0700)
committerCraig Topper <craig.topper@sifive.com>
Mon, 1 May 2023 19:05:18 +0000 (12:05 -0700)
commit13fe6733019a9b597ac4b938c5500fa6531d614d
tree433ae08edf7d6e19a124fe66156be83ee31f6c77
parent4ca1932776dbbcbd4f581e55fc3b369c17e3904b
[RISCV] Move NTLH hint emission into RISCVAsmPrinter.cpp.

Rather than having a separate pass to add the hint instructions,
emit them directly into the streamer during asm printing.

Reviewed By: BeMg, kito-cheng

Differential Revision: https://reviews.llvm.org/D149511
llvm/lib/Target/RISCV/CMakeLists.txt
llvm/lib/Target/RISCV/RISCV.h
llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
llvm/lib/Target/RISCV/RISCVInsertNTLHInsts.cpp [deleted file]
llvm/lib/Target/RISCV/RISCVInstrInfo.td
llvm/lib/Target/RISCV/RISCVInstrInfoZihintntl.td [deleted file]
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/O0-pipeline.ll
llvm/test/CodeGen/RISCV/O3-pipeline.ll