We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 976be60 commit 5329d92Copy full SHA for 5329d92
lib/SIL/Utils/MemAccessUtils.cpp
@@ -369,8 +369,9 @@ bool swift::isLetAddress(SILValue address) {
369
// RC-identical would confuse ARC optimization, which might eliminate a retain
370
// of such an object completely.
371
//
372
-// The SILVerifier checks that none of these operations cast a nontrivial value
373
-// to a reference except unconditional_checked_cast[_value].
+// The SILVerifier checks that none of these operations cast a trivial value to
+// a reference except unconditional_checked_cast[_value], which is checked By
374
+// SILDynamicCastInst::isRCIdentityPreserving().
375
bool swift::isRCIdentityPreservingCast(SingleValueInstruction *svi) {
376
switch (svi->getKind()) {
377
default:
0 commit comments