[PATCH] D149511: [RISCV] Move NTLH hint emission into RISCVAsmPrinter.cpp.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 29 00:21:18 PDT 2023


craig.topper created this revision.
craig.topper added reviewers: BeMg, asb, reames, kito-cheng.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149511

Files:
  llvm/lib/Target/RISCV/CMakeLists.txt
  llvm/lib/Target/RISCV/RISCV.h
  llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
  llvm/lib/Target/RISCV/RISCVInsertNTLHInsts.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoZihintntl.td
  llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
  llvm/test/CodeGen/RISCV/O0-pipeline.ll
  llvm/test/CodeGen/RISCV/O3-pipeline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149511.518134.patch
Type: text/x-patch
Size: 10748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230429/635285f6/attachment.bin>


More information about the llvm-commits mailing list