[all-commits] [llvm/llvm-project] 85c6fa: [RISCV][doc] Improve documentation comments on ato...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Fri Jul 29 07:09:59 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85c6fab8d31786ca0eed644b84352d86d0a35e95
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2022-07-29 (Fri, 29 Jul 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/IR/IntrinsicsRISCV.td

  Log Message:
  [RISCV][doc] Improve documentation comments on atomics intrinsics

Previously, it was necessary to check the atomics lowering or expansion
code to determine which argument was which.

This patch additionally tweaks the documentation comment in
TargetLowering to clarify the return value of the intrinsic and that the
intrinsic isn't required to mask and shift the result (this is handled
by the target-independent code in AtomicExpandPass).

More information about the All-commits mailing list