[all-commits] [llvm/llvm-project] d11b93: AMDGPU: Avoid overwriting saved PC

Austin Kerbow via All-commits all-commits at lists.llvm.org
Mon Oct 28 10:03:42 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d11b93ec6ac1cf48dce0a8b7beb3e07f0ee9b0fc
      https://github.com/llvm/llvm-project/commit/d11b93ec6ac1cf48dce0a8b7beb3e07f0ee9b0fc
  Author: Austin Kerbow <Austin.Kerbow at amd.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    A llvm/test/CodeGen/AMDGPU/call-waw-waitcnt.mir

  Log Message:
  -----------
  AMDGPU: Avoid overwriting saved PC

Summary:
An outstanding load with same destination sgpr as call could cause PC to be
updated with junk value on return.

Reviewers: arsenm, rampitec

Reviewed By: arsenm

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list