[PATCH] D54368: RegAllocFast: Record internal state based on register units
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 23:57:37 PDT 2020
uabelho added inline comments.
================
Comment at: llvm/lib/CodeGen/RegAllocFast.cpp:136
void setPhysRegState(MCPhysReg PhysReg, unsigned NewState);
+ bool isPhysRegFree(MCPhysReg PhysReg) const;
----------------
This seems to be unused? gcc warns with
../lib/CodeGen/RegAllocFast.cpp:245:6: warning: 'bool {anonymous}::RegAllocFast::isPhysRegFree(llvm::MCPhysReg) const' defined but not used [-Wunused-function]
bool RegAllocFast::isPhysRegFree(MCPhysReg PhysReg) const {
^~~~~~~~~~~~
Will it be used soon or can it be removed?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54368/new/
https://reviews.llvm.org/D54368
More information about the llvm-commits
mailing list