From 65d54eb06e9b2aa4dfd7733bdb3ec96e384818ea Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Wed, 14 Nov 2001 17:55:02 +0000 Subject: Idiotic error in last fix. llvm-svn: 1306 --- llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index 7fe3e60f7fc..c7d4260087b 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp @@ -257,7 +257,7 @@ ChooseRegOrImmed(Value* val, { intValue = 0; } - if (CPV->getType()->isSigned()) + else if (CPV->getType()->isSigned()) { intValue = ((ConstPoolSInt*)CPV)->getValue(); } -- cgit v1.2.3