[SCEVExpander] Only create trunc when needed.
9345ab3a updated generateOverflowCheck to skip creating checks that always evaluate to false. This in turn means that we only need to create TruncTripCount if it is actually used. Sink the TruncTripCount creating into ComputeEndCheck, so it is only created when there's an actual check.
Loading
Please sign in to comment