Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLIR parser crash #45049

Closed
silvasean opened this issue Apr 27, 2020 · 2 comments
Closed

MLIR parser crash #45049

silvasean opened this issue Apr 27, 2020 · 2 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla mlir:core MLIR Core Infrastructure

Comments

@silvasean
Copy link
Contributor

Bugzilla Link 45704
Resolution FIXED
Resolved on Apr 27, 2020 15:24
Version unspecified
OS Linux
CC @jpienaar,@River707

Extended Description

echo '"foo.op"() {a,a} : () -> ()' | mlir-opt

assert.h assertion failed at third_party/llvm/llvm-project/mlir/lib/IR/Attributes.cpp:122 in static mlir::DictionaryAttr mlir::DictionaryAttr::get(ArrayRefmlir::NamedAttribute, mlir::MLIRContext *): value[0].first != value[1].first && "DictionaryAttr element names must be unique"
@ 0x55e2989305c0 __assert_fail
@ 0x55e298354c40 mlir::DictionaryAttr::get()
@ 0x55e29835a68a mlir::NamedAttributeList::setAttrs()
@ 0x55e29835a5f5 mlir::NamedAttributeList::NamedAttributeList()
@ 0x55e2983bc6b9 mlir::Operation::create()
@ 0x55e298374271 mlir::OpBuilder::createOperation()
@ 0x55e297687301 (anonymous namespace)::OperationParser::parseGenericOperation()
@ 0x55e2976847ad (anonymous namespace)::OperationParser::parseOperation()
@ 0x55e2976836ab (anonymous namespace)::ModuleParser::parseModule()

@silvasean
Copy link
Contributor Author

assigned to @silvasean

@silvasean
Copy link
Contributor Author

Fixed in https://reviews.llvm.org/D78966

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla mlir:core MLIR Core Infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant