swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.49k stars 10.35k forks source link

[SR-8298] [StrictDeabstraction] AssertionFailure: "value introduced multiple times in the same scope" in TFLowerGraph #50826

Closed swift-ci closed 6 years ago

swift-ci commented 6 years ago
Previous ID SR-8298
Radar None
Original Reporter bgogul (JIRA User)
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Swift for TensorFlow | |Labels | Bug | |Assignee | bgogul (JIRA) | |Priority | Medium | md5: c7448552b669df8ae1b84ebdf0120812

is duplicated by:

Issue Description:

Affected tests:

swift: /usr/local/google/home/bgogul/workspace/brain/s4tf/swift/lib/SILOptimizer/Mandatory/TFLowerGraph.cpp:467: void (anonymous namespace)::TFGraphLowering::addValueMapping(SILOpResult, TF_Output, unsigned int): Assertion `(it == valueMapping.end() || it->second < depth) && "value introduced multiple times in the same scope"' failed.
swift-ci commented 6 years ago

Comment by Gogul Balakrishnan (JIRA)

https://github.com/apple/swift/pull/18173 fixes this.