summaryrefslogtreecommitdiff
path: root/clang-tools-extra/clangd/ConfigCompile.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2022-01-10 08:39:12 +0000
committerFlorian Hahn <flo@fhahn.com>2022-01-10 08:49:25 +0000
commitad1b8772cf6b16c1162bb8ff425679f5ff046ae9 (patch)
tree07f05d641cf54ec7a3ff54a832d4e3ba17994996 /clang-tools-extra/clangd/ConfigCompile.cpp
parent38916195c9ce281a44a3378da02c1abdd199db2d (diff)
downloadllvm-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 'clang-tools-extra/clangd/ConfigCompile.cpp')
0 files changed, 0 insertions, 0 deletions