Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SILBridging for GlobalAddr_getDecl
and RefElementAddr_getDecl. Fixes: Assertion failed: (isa<To>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file Casting.h While running pass swiftlang#224 SILFunctionTransform "LifetimeDependenceDiagnostics" swiftlang#7 0x0000000102d3efcc decltype(auto) llvm::cast<swift::DebugValueInst, swift::SILInstruction>(swift::SILInstruction*) swiftlang#8 0x0000000102d01e24 swift::DebugValueInst* BridgedInstruction::getAs<swift::DebugValueInst>() const swiftlang#9 0x0000000102d01ee4 BridgedInstruction::GlobalAddr_getDecl() const
- Loading branch information