diff options
author | Florian Hahn <flo@fhahn.com> | 2022-01-10 08:39:12 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-01-10 08:49:25 +0000 |
commit | ad1b8772cf6b16c1162bb8ff425679f5ff046ae9 (patch) | |
tree | 07f05d641cf54ec7a3ff54a832d4e3ba17994996 /llvm/unittests | |
parent | 38916195c9ce281a44a3378da02c1abdd199db2d (diff) | |
download | llvm-ad1b8772cf6b16c1162bb8ff425679f5ff046ae9.tar.gz |
[SCEVExpander] Only create multiplication if needed.
9345ab3a4550 updated generateOverflowCheck to skip creating checks that
always evaluate to false. This in turn means that we only need to
compute |Step| * Trip count if the result of the multiplication is
actually used.
Sink the multiplication into ComputeEndCheck, so it is only created
when there's an actual check.
Diffstat (limited to 'llvm/unittests')
0 files changed, 0 insertions, 0 deletions