[llvm-commits] CVS: llvm/include/llvm/Target/TargetLowering.h

Evan Cheng evan.cheng at apple.com
Tue Feb 28 16:59:06 PST 2006



Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.55 -> 1.56
---
Log message:

Missing a cast previously.


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

 TargetLowering.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.55 llvm/include/llvm/Target/TargetLowering.h:1.56
--- llvm/include/llvm/Target/TargetLowering.h:1.55	Thu Feb 23 19:10:14 2006
+++ llvm/include/llvm/Target/TargetLowering.h	Tue Feb 28 18:58:54 2006
@@ -412,7 +412,7 @@
     assert(VT < 32 && Op < sizeof(OpActions)/sizeof(OpActions[0]) &&
            "Table isn't big enough!");
     OpActions[Op] &= ~(3ULL << VT*2);
-    OpActions[Op] |= Action << VT*2;
+    OpActions[Op] |= (uint64_t)Action << VT*2;
   }
 
   /// addLegalFPImmediate - Indicate that this target can instruction select






More information about the llvm-commits mailing list