aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineRegisterInfo.cpp
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2025-05-08 13:36:37 +0300
committerGitHub <noreply@github.com>2025-05-08 13:36:37 +0300
commitcedeef6707fc702ed4ba197b3c841edbc688c78e (patch)
tree37887733ad41b20fe7732bc027bed499debd0f9a /llvm/lib/CodeGen/MachineRegisterInfo.cpp
parent356bd2c9605761121b49f318a187560ec306718e (diff)
downloadllvm-cedeef6707fc702ed4ba197b3c841edbc688c78e.zip
llvm-cedeef6707fc702ed4ba197b3c841edbc688c78e.tar.gz
llvm-cedeef6707fc702ed4ba197b3c841edbc688c78e.tar.bz2
[LSR] Replace casts with an equivalent std::as_const (NFC) (#138980)
The casts / `std::as_const` are used here to select `const` overload of `begin()`/`end()` so that the type of the returned iterator matches the type of `J`, which is `const_iterator`.
Diffstat (limited to 'llvm/lib/CodeGen/MachineRegisterInfo.cpp')
0 files changed, 0 insertions, 0 deletions