forked from OSchip/llvm-project
GlobalISel: Remove check for illegal MIR
The verifier will catch this.
This commit is contained in:
parent
4697e701b8
commit
7464e8d6ad
|
@ -1128,8 +1128,6 @@ LegalizerHelper::LegalizeResult LegalizerHelper::narrowScalar(MachineInstr &MI,
|
|||
if (TypeIdx != 0)
|
||||
return UnableToLegalize;
|
||||
|
||||
if (!MI.getOperand(2).isImm())
|
||||
return UnableToLegalize;
|
||||
int64_t SizeInBits = MI.getOperand(2).getImm();
|
||||
|
||||
// So long as the new type has more bits than the bits we're extending we
|
||||
|
|
Loading…
Reference in New Issue