mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 12:08:33 +00:00
silence warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c5d4de837
commit
15092547e4
@ -931,12 +931,6 @@ bool X86DAGToDAGISel::TryFoldLoad(SDOperand P, SDOperand N,
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool isRegister0(SDOperand Op) {
|
||||
if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(Op))
|
||||
return (R->getReg() == 0);
|
||||
return false;
|
||||
}
|
||||
|
||||
/// getGlobalBaseReg - Output the instructions required to put the
|
||||
/// base address to use for accessing globals into a register.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user