File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
llvm/lib/CodeGen/SelectionDAG Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -223,21 +223,6 @@ void FastISel::flushLocalValueMap() {
223
223
LastFlushPoint = FuncInfo.InsertPt ;
224
224
}
225
225
226
- static bool isTerminatingEHLabel (MachineBasicBlock *MBB, MachineInstr &MI) {
227
- // Ignore non-EH labels.
228
- if (!MI.isEHLabel ())
229
- return false ;
230
-
231
- // Any EH label outside a landing pad must be for an invoke. Consider it a
232
- // terminator.
233
- if (!MBB->isEHPad ())
234
- return true ;
235
-
236
- // If this is a landingpad, the first non-phi instruction will be an EH_LABEL.
237
- // Don't consider that label to be a terminator.
238
- return MI.getIterator () != MBB->getFirstNonPHI ();
239
- }
240
-
241
226
bool FastISel::hasTrivialKill (const Value *V) {
242
227
// Don't consider constants or arguments to have trivial kills.
243
228
const Instruction *I = dyn_cast<Instruction>(V);
You can’t perform that action at this time.
0 commit comments