File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
lib/SILOptimizer/Analysis Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -1172,10 +1172,6 @@ enum class TranslationSemantics {
1172
1172
// / without updating this code correctly. This is most likely driver error and
1173
1173
// / should be caught in testing when we assert.
1174
1174
AssertingIfNonSendable,
1175
-
1176
- // / An instruction that we do not handle yet. Just for now during bring
1177
- // / up. Will be removed.
1178
- Unhandled,
1179
1175
};
1180
1176
1181
1177
} // namespace
@@ -1218,9 +1214,6 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &os,
1218
1214
case TranslationSemantics::AssertingIfNonSendable:
1219
1215
os << " asserting_if_nonsendable" ;
1220
1216
return os;
1221
- case TranslationSemantics::Unhandled:
1222
- os << " unhandled" ;
1223
- return os;
1224
1217
}
1225
1218
1226
1219
llvm_unreachable (" Covered switch isn't covered?!" );
@@ -2120,9 +2113,6 @@ class PartitionOpTranslator {
2120
2113
" transfer-non-sendable: Found banned instruction?!" );
2121
2114
return ;
2122
2115
2123
- case TranslationSemantics::Unhandled:
2124
- LLVM_DEBUG (llvm::dbgs () << " Unhandled inst: " << *inst);
2125
- return ;
2126
2116
case TranslationSemantics::AssertingIfNonSendable:
2127
2117
// Do not error if all of our operands are sendable.
2128
2118
if (llvm::none_of (inst->getOperandValues (), [&](SILValue value) {
You can’t perform that action at this time.
0 commit comments