Changes in directory llvm/lib/Target/Alpha:

AlphaInstrInfo.td updated: 1.93 -> 1.94
---
Log message:

Fix up immediate handling

---
Diffs of the changes:  (+1 -1)

 AlphaInstrInfo.td |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/Alpha/AlphaInstrInfo.td
diff -u llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.93 
llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.94
--- llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.93        Tue Dec 27 00:25:50 2005
+++ llvm/lib/Target/Alpha/AlphaInstrInfo.td     Wed Dec 28 18:50:08 2005
@@ -54,7 +54,7 @@
 def immSExt16  : PatLeaf<(imm), [{
   // immSExt16 predicate - True if the immediate fits in a 16-bit sign extended
   // field.  Used by instructions like 'lda'.
-  return (int)N->getValue() == (short)N->getValue();
+  return (int64_t)N->getValue() == (int16_t)N->getValue();
 }]>;
 
 def iZAPX : SDNodeXForm<imm, [{



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to