[all-commits] [llvm/llvm-project] 79f059: [mlir] NFC - Fix OperationSupport.cpp::findNamedAttr
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Mon May 18 06:39:55 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 79f059c4ac8cc63c770069557ed9a1f5b921c2c8
https://github.com/llvm/llvm-project/commit/79f059c4ac8cc63c770069557ed9a1f5b921c2c8
Author: Nicolas Vasilache <ntv at google.com>
Date: 2020-05-18 (Mon, 18 May 2020)
Changed paths:
M mlir/lib/IR/OperationSupport.cpp
Log Message:
-----------
[mlir] NFC - Fix OperationSupport.cpp::findNamedAttr
Summary:
When NamedAttrList::get is called against a StringRef and the
entry is not present, the Identifier::operator== crashes.
Interestingly there seems to be no use of the NamedAttrList::get(StringRef) in
the codebase so far. A subsequent commit will introduce such a use.
Differential Revision: https://reviews.llvm.org/D80089
More information about the All-commits
mailing list