Commit d6e32df
committed
SIL: Adjust pack
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`.isa after upstream LLVM implementation change1 parent da8b721 commit d6e32df
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
1127 | 1125 | | |
1128 | 1126 | | |
1129 | 1127 | | |
| |||
1157 | 1155 | | |
1158 | 1156 | | |
1159 | 1157 | | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
1163 | | - | |
| 1158 | + | |
| 1159 | + | |
1164 | 1160 | | |
1165 | 1161 | | |
1166 | 1162 | | |
| |||
0 commit comments