[all-commits] [llvm/llvm-project] 8d8a49: LocalStackSlotAllocation: Swap order of check

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Sep 16 09:57:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d8a496356dbdf4fcc17caa69fe489d8d87068ac
      https://github.com/llvm/llvm-project/commit/8d8a496356dbdf4fcc17caa69fe489d8d87068ac
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/LocalStackSlotAllocation.cpp

  Log Message:
  -----------
  LocalStackSlotAllocation: Swap order of check


  Commit: deae5e567d65c49c40abc99d5ad53855c9872d5b
      https://github.com/llvm/llvm-project/commit/deae5e567d65c49c40abc99d5ad53855c9872d5b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll

  Log Message:
  -----------
  AMDGPU: Add baseline test for incorrect SP access


  Commit: 367248956e93982a73c0441868a562aeb85af5a0
      https://github.com/llvm/llvm-project/commit/367248956e93982a73c0441868a562aeb85af5a0
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
    M llvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll

  Log Message:
  -----------
  AMDGPU: Clear offset register when using local stack area

eliminateFrameIndex won't fix up the offset register when the direct
frame index reference is moved to a separate move instruction. Switch
the offset to a base 0 (which it probably should be to begin with).


Compare: https://github.com/llvm/llvm-project/compare/4cff1b40dacf...367248956e93


More information about the All-commits mailing list