[all-commits] [llvm/llvm-project] 13fe67: [RISCV] Move NTLH hint emission into RISCVAsmPrint...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon May 1 12:12:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13fe6733019a9b597ac4b938c5500fa6531d614d
      https://github.com/llvm/llvm-project/commit/13fe6733019a9b597ac4b938c5500fa6531d614d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-05-01 (Mon, 01 May 2023)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list