[all-commits] [llvm/llvm-project] f2f9f7: [NFC][LLVM] Code cleanup in CloneFunction.cpp (#16...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Mon Oct 13 06:16:00 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f2f9f7721155cd6c21884900e7e92d2bd0c44673
https://github.com/llvm/llvm-project/commit/f2f9f7721155cd6c21884900e7e92d2bd0c44673
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2025-10-13 (Mon, 13 Oct 2025)
Changed paths:
M llvm/lib/Transforms/Utils/CloneFunction.cpp
Log Message:
-----------
[NFC][LLVM] Code cleanup in CloneFunction.cpp (#162875)
- Use explicit types instead of auto when type is not obvious.
- Move local function out of anonymous namespace and make them static.
- Use structured bindings in some range for loops.
- Simplify PHI handling code a bit.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list