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.
2 parents c30d080 + 7ce477b commit d675268Copy full SHA for d675268
lib/SIL/SILVerifier.cpp
@@ -1635,12 +1635,6 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
1635
return;
1636
}
1637
1638
- // At this point, we know that we have a Builtin that is a Swift Builtin
1639
- // rather than an llvm intrinsic. Make sure our name corresponds to an
1640
- // actual ValueDecl. Otherwise, we have an invalid builtin.
1641
- require(getBuiltinValueDecl(BI->getModule().getASTContext(), BI->getName()),
1642
- "Invalid builtin name?!");
1643
-
1644
require(BI->getModule().getStage() != SILStage::Lowered ||
1645
!isPolymorphicBuiltin(*BI->getBuiltinKind()),
1646
"Polymorphic builtins are illegal in lowered SIL?!");
0 commit comments