• gmainlan@microsoft.com's avatar
    Allow case expressions with a single alternative to be floated in. · 48845462
    gmainlan@microsoft.com authored
    This change generalizes support for floating in case expressions. Previously,
    case expression with an unlifted scrutinee and a single DEFAULT alternative were
    floated in. In particular, this allowed array index operations to be floated
    in. We also want to float in SIMD unpack primops, which return an unboxed tuple
    of scalars, thus the generalization.
    48845462
FloatIn.lhs 19.7 KB