File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ Register FixupBWInstPass::getSuperRegDestIfDead(MachineInstr *OrigMI) const {
248
248
// Predecessors according to CFG: %bb.2 %bb.1
249
249
// %ax = KILL %ax, implicit killed %eax
250
250
// RET 0, %ax
251
- unsigned Opc = OrigMI->getOpcode (); ( void )Opc;
251
+ unsigned Opc = OrigMI->getOpcode ();
252
252
// These are the opcodes currently known to work with the code below, if
253
253
// something // else will be added we need to ensure that new opcode has the
254
254
// same properties.
@@ -261,8 +261,6 @@ Register FixupBWInstPass::getSuperRegDestIfDead(MachineInstr *OrigMI) const {
261
261
if (!MO.isReg ())
262
262
continue ;
263
263
264
- assert ((MO.isDef () || MO.isUse ()) && " Expected Def or Use only!" );
265
-
266
264
if (MO.isDef () && TRI->isSuperRegisterEq (OrigDestReg, MO.getReg ()))
267
265
IsDefined = true ;
268
266
You can’t perform that action at this time.
0 commit comments