OSDN Git Service

[AMDGPU] Correct the handling of inlineasm output registers.
authorMichael Liao <michael.hliao@gmail.com>
Tue, 28 May 2019 19:37:09 +0000 (19:37 +0000)
committerMichael Liao <michael.hliao@gmail.com>
Tue, 28 May 2019 19:37:09 +0000 (19:37 +0000)
commit271744f44db6250b5ee6512a6122c67455ad0a7b
tree7c8823efc51e37f18d1f00be2c018245739c3866
parentf8b1164eaa41ec05ba09792ac5f76e2cfff729c9
[AMDGPU] Correct the handling of inlineasm output registers.

Summary:
- There's a regression due to the cross-block RC assignment. Use the
  proper way to derive the output register RC in inline asm.

Reviewers: rampitec, alex-t

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

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361868 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/inline-asm.ll