summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-11-14 17:55:02 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-11-14 17:55:02 +0000
commit65d54eb06e9b2aa4dfd7733bdb3ec96e384818ea (patch)
tree5afa8dc1f98df7f13bbec1dd837242023a1871da /llvm/lib/CodeGen
parentc1b534043f800da29cc3457ce2c1895a249b273e (diff)
downloadbcm5719-llvm-65d54eb06e9b2aa4dfd7733bdb3ec96e384818ea.tar.gz
bcm5719-llvm-65d54eb06e9b2aa4dfd7733bdb3ec96e384818ea.zip
Idiotic error in last fix.
llvm-svn: 1306
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}
OpenPOWER on IntegriCloud