aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ThreadPool.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2020-02-14 10:18:19 +0100
committerAlex Zinenko <zinenko@google.com>2020-02-14 10:22:33 +0100
commit39cb2a8fc79976171b20369ff756f7fa43232b50 (patch)
treedf942c0557d912f42645f6586aea0cd0b446e183 /llvm/lib/Support/ThreadPool.cpp
parent189c701332eb2d80c0bf6bf132abeb4e1ec9e6ce (diff)
downloadllvm-39cb2a8fc79976171b20369ff756f7fa43232b50.zip
llvm-39cb2a8fc79976171b20369ff756f7fa43232b50.tar.gz
llvm-39cb2a8fc79976171b20369ff756f7fa43232b50.tar.bz2
[mlir] Fix argument attribute attribute reassignment in ConvertStandardToLLVM
The commit switching the calling convention for memrefs (5a1778057) inadvertently introduced a bug in the function argument attribute conversion: due to incorrect indexing of function arguments it was not assigning the attributes to the arguments beyond those generated from the first original argument. This was not caught in the commit since the test suite does have a test for converting multi-argument functions with argument attributes. Fix the bug and add relevant tests.
Diffstat (limited to 'llvm/lib/Support/ThreadPool.cpp')
0 files changed, 0 insertions, 0 deletions