Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.75 -> 1.76
---
Log message:

For PR786: http://llvm.cs.uiuc.edu/PR786 :
Minor tweaks in public headers and a few .cpp files so that LLVM can build
successfully with -pedantic and projects using LLVM with -pedantic don't 
get warnings from LLVM. There's still more -pedantic warnings to fix.


---
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.75 
llvm/include/llvm/Target/TargetLowering.h:1.76
--- llvm/include/llvm/Target/TargetLowering.h:1.75      Wed May 17 13:22:14 2006
+++ llvm/include/llvm/Target/TargetLowering.h   Wed May 24 14:21:13 2006
@@ -512,7 +512,7 @@
                           LegalizeAction Action) {
     assert(VT < 32 && Op < sizeof(OpActions)/sizeof(OpActions[0]) &&
            "Table isn't big enough!");
-    OpActions[Op] &= ~(3ULL << VT*2);
+    OpActions[Op] &= ~(uint64_t(3UL) << VT*2);
     OpActions[Op] |= (uint64_t)Action << VT*2;
   }
   



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

Reply via email to