[all-commits] [llvm/llvm-project] 2e49e0: AMDGPU/GlobalISel: Directly diagnose return value ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jan 20 09:46:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e49e0cfde43fa96e50ee89573ec6ff8a31c7c24
      https://github.com/llvm/llvm-project/commit/2e49e0cfde43fa96e50ee89573ec6ff8a31c7c24
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.atomic.fadd-with-ret.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.atomic.fadd-with-ret.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Directly diagnose return value use for FP atomics

Emit an error if the return value is used on subtargets that do not
support them. Previously we were falling back to the DAG on selection
failure, where it would emit this error and then fail again.




More information about the All-commits mailing list