[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)
commit5fc1dfa784dcfeda6ddd4436543e0db119afdf99
tree0a6f2632cfcb704ada7618f1c6c08cd0c126f1c1
parent91f8066d1de5df00e29ac1c517d2e7353dcb3a60
[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

llvm-svn: 361868
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/inline-asm.ll