mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 21:14:56 +00:00
silence a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23593 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dff06f4348
commit
123557fcf0
@ -503,7 +503,7 @@ void SchedGraph::findDefUseInfoAtInstr(const TargetMachine& target,
|
||||
// (only if the node is not already on the callDepVec!)
|
||||
if (callDepNodeVec.size() == 0 || callDepNodeVec.back() != node)
|
||||
{
|
||||
unsigned rcid;
|
||||
unsigned rcid = 0;
|
||||
int regInClass = target.getRegInfo()->getClassRegNum(regNum, rcid);
|
||||
if (target.getRegInfo()->getMachineRegClass(rcid)
|
||||
->isRegVolatile(regInClass))
|
||||
|
Loading…
Reference in New Issue
Block a user