aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2020-11-06 11:00:13 +0100
committerAlex Zinenko <zinenko@google.com>2020-11-06 19:02:35 +0100
commitb9c353fabb3276c9ec1c202f28559d37c8092739 (patch)
treede6adb0740dc5185101d3027ed135c05baf3e839 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentbb9b5d39712e39e15b22b36e8138075cea0cd7b5 (diff)
downloadllvm-b9c353fabb3276c9ec1c202f28559d37c8092739.zip
llvm-b9c353fabb3276c9ec1c202f28559d37c8092739.tar.gz
llvm-b9c353fabb3276c9ec1c202f28559d37c8092739.tar.bz2
[mlir] Use PyValue instead of PyOpResult in Python operand container
The PyOpOperands container was erroneously constructing objects for individual operands as PyOpResult. Operands in fact are just values, which may or may not be results of another operation. The code would eventually crash if the operand was a block argument. Add a test that exercises the behavior that previously led to crashes. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D90917
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions