Revert "[nfc][mlgo] De-const a parameter"
authorMircea Trofin <mtrofin@google.com>
Thu, 3 Feb 2022 17:10:06 +0000 (09:10 -0800)
committerMircea Trofin <mtrofin@google.com>
Thu, 3 Feb 2022 17:20:36 +0000 (09:20 -0800)
commit79b98f0a07af427ee1edfe5fbefb35be51036981
tree47b85a1fb8784e1c9177103965f65464494cf286
parent6d0c007bc1c9b14faaff24cab11d6829a213d866
Revert "[nfc][mlgo] De-const a parameter"

This reverts commit bc3b372161716a4c4845d47a877e4892df0d08da.

The planned change that would have needed non-const MachineFunction refs
isn't needed after all.
llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
llvm/lib/CodeGen/RegAllocEvictionAdvisor.h