[GlobalISel][InlineAsm] Add support for matching input constraints
authorPetar Avramovic <Petar.Avramovic@amd.com>
Tue, 30 Jun 2020 08:49:05 +0000 (10:49 +0200)
committerPetar Avramovic <Petar.Avramovic@amd.com>
Tue, 30 Jun 2020 08:49:05 +0000 (10:49 +0200)
commit4b980cc9ca08a0b95b4ac6994770155a48881729
tree2e181f166b86199b9fb0145fee926795e5993b7f
parent446b90135f0f88be4b8dddaf6a92842f94e7a43f
[GlobalISel][InlineAsm] Add support for matching input constraints

Find def operand that corresponds to matching constraint and
tie input to that operand.

Differential Revision: https://reviews.llvm.org/D82651
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/inline-asm.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-inline-asm.ll