[all-commits] [llvm/llvm-project] e703c7: AMDGPU: Remove incorrect uses of SubtaretPredicate...

Changpeng Fang via All-commits all-commits at lists.llvm.org
Wed Mar 13 09:49:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e703c735df1257022bcb6ca9de857e20e671392f
      https://github.com/llvm/llvm-project/commit/e703c735df1257022bcb6ca9de857e20e671392f
  Author: Changpeng Fang <changpeng.fang at amd.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/DSInstructions.td

  Log Message:
  -----------
  AMDGPU: Remove incorrect uses of SubtaretPredicate around DS_Reals (#85001)

SubtargetPredicate is copied from DS_Pseudo to DS_Real. We should not
use another SubtargetPredicate assignment around DS_Real, because doing
so will override the predicate from DS_Pseudo.

For example, for DS_ADD_RTN_F64, SubtargetPredicate was set to
HasLdsAtomicAddF64 in Pseudo. And it will be overridden to isGFX90APlus
if we assign isGFX90APlus to SubtargetPredicate in Real definition.



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