Commit 7464e8d6 authored by Matt Arsenault's avatar Matt Arsenault Committed by Matt Arsenault
Browse files

GlobalISel: Remove check for illegal MIR

The verifier will catch this.
parent 4697e701
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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