swift
9053cce8 - SimplifyCFG: fix an ownership verifier error caused by switch_enum simplification

Commit
1 year ago
SimplifyCFG: fix an ownership verifier error caused by switch_enum simplification If constant folding a switch_enum ends up in branching to a no-payload case, the enum value still needs to be destroyed to satisfy the ownership verifier. https://github.com/swiftlang/swift/issues/74903 rdar://131726690
Author
Committer
Parents
Loading