diff options
author | Alex Zinenko <zinenko@google.com> | 2023-01-16 15:01:02 +0000 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2023-01-16 19:26:42 +0000 |
commit | 3f2f83ef41419507bcdaf751b86713ef193b7de0 (patch) | |
tree | aa519a8ccad266a28a60c8e7b5d250ac327aed72 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 9954516ffb10a39ae0c8517f4865eec24e07d56e (diff) | |
download | llvm-3f2f83ef41419507bcdaf751b86713ef193b7de0.zip llvm-3f2f83ef41419507bcdaf751b86713ef193b7de0.tar.gz llvm-3f2f83ef41419507bcdaf751b86713ef193b7de0.tar.bz2 |
[mlir] accept values with result numbers in gpu.launch_func
The parser of gpu.launch_func was incorrectly rejecting SSA values with
result numbers (`%0#0`) in the list of function arguments by using the
`parseArgument` function intended for region argument declarations, not
operands. Fix this by directly parsing comma-separated operands and
types.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D141851
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions