From e06ef80244067587e0ec29f9b7248f61d6a5fa31 Mon Sep 17 00:00:00 2001 From: Duraid Madina Date: Tue, 26 Apr 2005 09:42:50 +0000 Subject: constmul bugfix: multiply by 27611 was broken llvm-svn: 21564 --- llvm/lib/Target/IA64/IA64ISelPattern.cpp | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Target/IA64/IA64ISelPattern.cpp b/llvm/lib/Target/IA64/IA64ISelPattern.cpp index e2a5a988d6c..d19b68368f2 100644 --- a/llvm/lib/Target/IA64/IA64ISelPattern.cpp +++ b/llvm/lib/Target/IA64/IA64ISelPattern.cpp @@ -453,9 +453,6 @@ void ISel::InstructionSelectBasicBlock(SelectionDAG &DAG) { ISelDAG = 0; } -const char sign[2]={'+','-'}; - - // strip leading '0' characters from a string void munchLeadingZeros(std::string& inString) { while(inString.c_str()[0]=='0') { @@ -564,7 +561,8 @@ unsigned lefevre(const std::string inString, } std::string t, u; - int c,f; + int c; + bool f; std::map w; for(int i=0; i