[all-commits] [llvm/llvm-project] bc3b37: [nfc][mlgo] De-const a parameter
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Mon Jan 31 13:44:49 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bc3b372161716a4c4845d47a877e4892df0d08da
https://github.com/llvm/llvm-project/commit/bc3b372161716a4c4845d47a877e4892df0d08da
Author: Mircea Trofin <mtrofin at google.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
M llvm/lib/CodeGen/RegAllocEvictionAdvisor.h
Log Message:
-----------
[nfc][mlgo] De-const a parameter
We plan to pass the MachineFunction& to APIs that expect it non-const
(for legitimate reasons). The advisor still holds the ref as a const
ref, though, so we keep most of the maintainability value of that.
More information about the All-commits
mailing list