Skip to content
Unverified Commit aecad582 authored by Florian Hahn's avatar Florian Hahn
Browse files

[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.
parent 3a094d8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment