[all-commits] [llvm/llvm-project] af083d: [RISCV] Add `zihintpause` LLVM/Clang intrinsic (#1...

Kiva via All-commits all-commits at lists.llvm.org
Thu May 15 23:21:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af083d09bd1815bd50f2efb9f999bec145a564b1
      https://github.com/llvm/llvm-project/commit/af083d09bd1815bd50f2efb9f999bec145a564b1
  Author: Kiva <imkiva at islovely.icu>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/BuiltinsRISCV.td
    M clang/lib/CodeGen/TargetBuiltins/RISCV.cpp
    A clang/test/CodeGen/RISCV/riscv-zihintpause.c
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    A llvm/test/CodeGen/RISCV/riscv-zihintpause.ll

  Log Message:
  -----------
  [RISCV] Add `zihintpause` LLVM/Clang intrinsic (#139519)

This PR adds the missing intrinsic `__builtin_riscv_pause` for the
zihintpause extension.

Spec:
https://five-embeddev.com/riscv-user-isa-manual/Priv-v1.12/zihintpause.html
Fixes #129961



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list