diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-11-14 17:55:02 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-11-14 17:55:02 +0000 |
commit | 9e29f780296feb1cddffbad640d2f813efc11b94 (patch) | |
tree | 90edb8b45fa2ae0b19b980321debd9fae984f884 /lib/CodeGen | |
parent | c81174515659e15f2907ec8ced09c6f775738dfa (diff) | |
download | external_llvm-9e29f780296feb1cddffbad640d2f813efc11b94.zip external_llvm-9e29f780296feb1cddffbad640d2f813efc11b94.tar.gz external_llvm-9e29f780296feb1cddffbad640d2f813efc11b94.tar.bz2 |
Idiotic error in last fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index 7fe3e60..c7d4260 100644 --- a/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/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(); } |