diff options
author | Johannes Reifferscheid <jreiffers@google.com> | 2022-09-08 09:38:50 +0200 |
---|---|---|
committer | Johannes Reifferscheid <jreiffers@google.com> | 2022-09-08 10:24:11 +0200 |
commit | 6247988e0751422fa10d70e64939c987dd3b81d9 (patch) | |
tree | ad5d52ae0100361aadfe8c5d51ad4156b4ac4b58 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 3e99b8d947ac024831e59be2b604ac67a24fed94 (diff) | |
download | llvm-6247988e0751422fa10d70e64939c987dd3b81d9.zip llvm-6247988e0751422fa10d70e64939c987dd3b81d9.tar.gz llvm-6247988e0751422fa10d70e64939c987dd3b81d9.tar.bz2 |
One-shot-bufferize: fix for inconsistent while arg types in before/after.
Currently, if the `before` and `after` regions of a while op have
tensor args in different indices, this leads to a crash.
This moves the pass-through check for args to the handling of the
condition block, since that is where the results are produced, so
it's also where copies must be made.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D133477
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions