aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-27 23:54:29 -0700
committerKazu Hirata <kazu@google.com>2022-08-27 23:54:29 -0700
commitd1688e9ddfeda5043913c67eaf2ef28f9574a33b (patch)
treed92c3a5d64e39d378abc355bc0f997b4b419cf82 /llvm/lib/Transforms/Utils/LoopSimplify.cpp
parent6ba2c28dee45cb349d882b2fdc2d3769fc901f58 (diff)
downloadllvm-d1688e9ddfeda5043913c67eaf2ef28f9574a33b.zip
llvm-d1688e9ddfeda5043913c67eaf2ef28f9574a33b.tar.gz
llvm-d1688e9ddfeda5043913c67eaf2ef28f9574a33b.tar.bz2
[llvm] Use std::gcd (NFC)
This patch replaces calls to greatestCommonDivisor with std::gcd where both arguments are known to be of unsigned. This means that std::common_type_t of the two argument types should just be the wider one of the two.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions