[all-commits] [llvm/llvm-project] c7cff0: AMDGPU: Fix assert when rewriting saddr d16 loads

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri May 14 10:24:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7cff08f79f775d70f0241f4671d66586a9e17a7
      https://github.com/llvm/llvm-project/commit/c7cff08f79f775d70f0241f4671d66586a9e17a7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-05-14 (Fri, 14 May 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/global-load-saddr-to-vaddr.ll

  Log Message:
  -----------
  AMDGPU: Fix assert when rewriting saddr d16 loads

moveOperands does not handle moving tied operands since it would
generally have to fixup the tied operand references. Avoid the assert
by untying and retying after the modification. These in place
modifications really aren't managable.




More information about the All-commits mailing list