aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-27 21:21:08 -0700
committerKazu Hirata <kazu@google.com>2022-08-27 21:21:08 -0700
commit472e1a065d6f673290bdf393b412be5e4fa565c0 (patch)
treef39c21abf8d2b543a4517e091c471ecd006ec29a /llvm/lib/Transforms/Utils/LoopSimplify.cpp
parent920ffab9cccfe1a5dde0368d252ed50e5dbcd6a5 (diff)
downloadllvm-472e1a065d6f673290bdf393b412be5e4fa565c0.zip
llvm-472e1a065d6f673290bdf393b412be5e4fa565c0.tar.gz
llvm-472e1a065d6f673290bdf393b412be5e4fa565c0.tar.bz2
[Support] Use std::clamp (NFC)
We can safely use std::clamp here because the call to report_size_overflow a few lines above guarantees MinSize <= MaxSize.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions