[LV] Check opt-for-size before expanding runtime checks.
Move bail out when optimizing for size before runtime check generation. In that case, we do not use the result of the expansion, the expanded instruction will be dead and cleaned up later. By doing the check before expanding the runtime-checks, we can save a bit of unnecessary work.
Loading
Please sign in to comment