diff options
author | Florian Hahn <flo@fhahn.com> | 2022-01-10 11:31:26 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-01-10 11:31:27 +0000 |
commit | aecad5828ee7c3cd6d7dea5ea9f552251e4362df (patch) | |
tree | 39885f5ab58aa842374c0fb7d81b9e74697ef99f /clang/unittests/AST/SourceLocationTest.cpp | |
parent | 3a094d8b272c15aa329db92d85c6d483004b4f6e (diff) | |
download | llvm-aecad5828ee7c3cd6d7dea5ea9f552251e4362df.zip llvm-aecad5828ee7c3cd6d7dea5ea9f552251e4362df.tar.gz llvm-aecad5828ee7c3cd6d7dea5ea9f552251e4362df.tar.bz2 |
[SCEVExpander] Only create trunc when needed.
9345ab3a4550 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.
Diffstat (limited to 'clang/unittests/AST/SourceLocationTest.cpp')
0 files changed, 0 insertions, 0 deletions