diff options
author | Uday Bondhugula <uday@polymagelabs.com> | 2022-11-17 15:48:25 +0530 |
---|---|---|
committer | Uday Bondhugula <uday@polymagelabs.com> | 2022-11-19 12:34:27 +0530 |
commit | ac38a7d3524733bee3901d2d8ea20ad664bbb7fc (patch) | |
tree | f611d95f70eab57ca7a7b43517d0118d126491ef /llvm/lib/Object/XCOFFObjectFile.cpp | |
parent | 0e4378c55e318869ea6404f2351f143e6d17fbfe (diff) | |
download | llvm-ac38a7d3524733bee3901d2d8ea20ad664bbb7fc.zip llvm-ac38a7d3524733bee3901d2d8ea20ad664bbb7fc.tar.gz llvm-ac38a7d3524733bee3901d2d8ea20ad664bbb7fc.tar.bz2 |
[MLIR] Fix incorrect assertion in memref replacement utility
The assertion had an unchecked use of getDefiningOp. The condition
itself is stale and not needed. This is a trivial/obvious fix - the
buggy path wasn't exercised since the current passes/users of this
utility always passed the result of an op as an "extra index".
Differential Revision: https://reviews.llvm.org/D138191
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions