From 4706c0395b693c64bda4c478517fed71c2e9a0dc Mon Sep 17 00:00:00 2001 From: Duraid Madina Date: Tue, 26 Apr 2005 09:42:50 +0000 Subject: [PATCH] constmul bugfix: multiply by 27611 was broken git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21564 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/IA64/IA64ISelPattern.cpp | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/lib/Target/IA64/IA64ISelPattern.cpp b/lib/Target/IA64/IA64ISelPattern.cpp index e2a5a988d6c..d19b68368f2 100644 --- a/lib/Target/IA64/IA64ISelPattern.cpp +++ b/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