[all-commits] [llvm/llvm-project] 6a1954: [AMDGPU] Fix failing assert with scratch ST mode

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Tue Jan 12 00:58:40 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a195491b6028185c7278718ac21bca309a6c4ea
      https://github.com/llvm/llvm-project/commit/6a195491b6028185c7278718ac21bca309a6c4ea
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/memory_clause.ll

  Log Message:
  -----------
  [AMDGPU] Fix failing assert with scratch ST mode

In ST mode, flat scratch instructions have neither an sgpr nor a vgpr
for the address. This lead to an assertion when inserting hard clauses.

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




More information about the All-commits mailing list