[all-commits] [llvm/llvm-project] 9dbc96: [AMDGPU] Fix atomic float max/min intrinsics

Joe Nash via All-commits all-commits at lists.llvm.org
Wed Aug 18 11:29:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dbc968ed9fa7b81ba6be27f7f26b79bc813a7bb
      https://github.com/llvm/llvm-project/commit/9dbc968ed9fa7b81ba6be27f7f26b79bc813a7bb
  Author: Joe Nash <Joseph.Nash at amd.com>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    A llvm/test/CodeGen/AMDGPU/fp-min-max-atomics.ll

  Log Message:
  -----------
  [AMDGPU] Fix atomic float max/min intrinsics

Hooked up raw.buffer.atomic.fmin/max.f64
This instruction should be available on GFX6, GFX7, and GFX10.
It was implemented for GFX90a with a different name.

Added intrinsic def for image_atomic_fmin/fmax; the instruction
defs were already there.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D108208

Change-Id: I473f98d28b2afbeeb2c27822d9686b5e86634e2f




More information about the All-commits mailing list