[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Tue Aug 16 17:47:35 PDT 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaISelPattern.cpp updated: 1.163 -> 1.164
---
Log message:
thinko. Should fix s4addl.ll regression
---
Diffs of the changes: (+2 -2)
AlphaISelPattern.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.163 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.164
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.163 Tue Aug 16 16:56:37 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp Tue Aug 16 19:47:24 2005
@@ -606,7 +606,7 @@
// If so Imm will receive the 64 bit value.
static bool isSIntImmediateBounded(SDOperand N, int64_t& Imm,
int64_t low, int64_t high) {
- if (isSIntImmediate(N, Imm) && Imm <= high && Imm >= high)
+ if (isSIntImmediate(N, Imm) && Imm <= high && Imm >= low)
return true;
return false;
}
@@ -624,7 +624,7 @@
static bool isUIntImmediateBounded(SDOperand N, uint64_t& Imm,
uint64_t low, uint64_t high) {
- if (isUIntImmediate(N, Imm) && Imm <= high && Imm >= high)
+ if (isUIntImmediate(N, Imm) && Imm <= high && Imm >= low)
return true;
return false;
}
More information about the llvm-commits
mailing list