silence warning
authorChris Lattner <sabre@nondot.org>
Fri, 3 Nov 2006 01:13:15 +0000 (01:13 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 3 Nov 2006 01:13:15 +0000 (01:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31393 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelDAGToDAG.cpp

index 550e52c856f2d5f868f485013c3874624bf5dca0..343176d6925aa2b2c4d2e3eaa97eef9553d192f7 100644 (file)
@@ -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.
 ///