Files
swift-mirror/lib/SILOptimizer/Analysis/RCIdentityAnalysis.cpp
Erik Eckstein 3b06bef250 RCIdentityAnalysis: don't let a non-copyable value be the RC root of a copyable value
Otherwise optimizations like retain-sinking might create retain_value instructions with a non-copyable operand.

Fixes a compiler crash.
rdar://139103557
2024-11-05 12:05:34 +01:00

23 KiB