From de2f0906e40561c9fdb4764bb2431d661f9470d9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 3 Nov 2006 01:13:15 +0000 Subject: [PATCH] silence warning llvm-svn: 31393 --- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp index 550e52c856f2..343176d6925a 100644 --- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -931,12 +931,6 @@ bool X86DAGToDAGISel::TryFoldLoad(SDOperand P, SDOperand N, return false; } -static bool isRegister0(SDOperand Op) { - if (RegisterSDNode *R = dyn_cast(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. ///