Is it ok to have an unfinished borrow in a basic block terminated with `unreachable` instruction?
Swift Forums
Is it ok to have an unfinished borrow in a basic block terminated with `unreachable` instruction?
I've added some unit tests in my PR, and they are triggering LinearLifetimeChecker. This seems to be an existing issue, not related to my changes, but reproducible by newly added tests. Reported as A leak due to a consuming post-dominance failure · Issue #91645 · swiftlang/swift · GitHub. When running tests with --param swift_test_mode=optimize_none_with_opaque_values function convertDirectToIndirectFunctionArgs() inserts a load_borrow in the beginning of the function, and end_borrow in all fu...
0 comments
No comments yet.