[all-commits] [llvm/llvm-project] 930e8d: AMDGPU: Add s-memrealtime and s-memtime-inst to Re...

Changpeng Fang via All-commits all-commits at lists.llvm.org
Tue Aug 22 10:23:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 930e8dea417879679f3fb92dcff3aa43510558e1
      https://github.com/llvm/llvm-project/commit/930e8dea417879679f3fb92dcff3aa43510558e1
  Author: Changpeng Fang <changpeng.fang at amd.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
    A llvm/test/CodeGen/AMDGPU/remove-incompatible-s-time.ll

  Log Message:
  -----------
  AMDGPU: Add s-memrealtime and s-memtime-inst to RemoveIncompatibleFunctions

Summary:
 Under -O0, device-libs may still emit these instructions under conditions.
So we need to remove them with warning if not compatible.

Fixes: SWDEV-417219

Reviewers:
  arsenm, Pierre-vh and b-sumner

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




More information about the All-commits mailing list