Skip to content

Conversation

@AnthonyLatsis
Copy link
Collaborator

See llvm/llvm-project#161403.

These isa calls with a CanType no longer compile with LLVM next because the implementation now unfolds directly to CastInfo calls rather than non-variadic isa calls that resolve to our partial specializations here:

template <class X> inline bool isa(CanType type) {

We should partially specialize CastInfo instead of isa et al. For now, just use the non-variadic isa.

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test

See llvm/llvm-project#161403.

These `isa` calls with a `CanType` no longer compile with LLVM next
because the implementation now unfolds directly to `CastInfo` calls
rather than non-variadic `isa` calls that resolve to our partial
specializations here:

https://github.com/swiftlang/swift/blob/e293876e4f3e376b29cdb225962e1f76cfcfbed7/include/swift/AST/Type.h#L600

We should partially specialize `CastInfo` instead of `isa` et al. For
now, just use the non-variadic `isa`.
@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please test Windows

@AnthonyLatsis AnthonyLatsis merged commit dea291c into main Dec 12, 2025
3 checks passed
@AnthonyLatsis AnthonyLatsis deleted the jepa-main4 branch December 12, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants