diff options
author | Kazu Hirata <kazu@google.com> | 2025-04-20 16:36:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-20 16:36:03 -0700 |
commit | b01e25debaf3fde3c76c9763e78e118a7da3d592 (patch) | |
tree | b1671d775c0953df9984a40a847c6d5800c121f1 /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | |
parent | f87109f018faad5f3f1bf8a4668754c24e84e886 (diff) | |
download | llvm-b01e25debaf3fde3c76c9763e78e118a7da3d592.zip llvm-b01e25debaf3fde3c76c9763e78e118a7da3d592.tar.gz llvm-b01e25debaf3fde3c76c9763e78e118a7da3d592.tar.bz2 |
[llvm] Call hash_combine_range with ranges (NFC) (#136511)
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp index b07f345..c5c4968 100644 --- a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp +++ b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp @@ -553,8 +553,7 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) { std::pair<std::pair<hash_code, DILocalVariable *>, DIExpression *>; auto makeHash = [](auto *D) -> DbgIntrinsicHash { auto VarLocOps = D->location_ops(); - return {{hash_combine_range(VarLocOps.begin(), VarLocOps.end()), - D->getVariable()}, + return {{hash_combine_range(VarLocOps), D->getVariable()}, D->getExpression()}; }; |