diff options
author | Kazu Hirata <kazu@google.com> | 2022-08-27 23:54:29 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-08-27 23:54:29 -0700 |
commit | d1688e9ddfeda5043913c67eaf2ef28f9574a33b (patch) | |
tree | d92c3a5d64e39d378abc355bc0f997b4b419cf82 /llvm/lib/Transforms/Utils/LoopSimplify.cpp | |
parent | 6ba2c28dee45cb349d882b2fdc2d3769fc901f58 (diff) | |
download | llvm-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