Missing a cast previously.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 1 Mar 2006 00:58:54 +0000 (00:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 1 Mar 2006 00:58:54 +0000 (00:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26434 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index 4ef969297e2de9f4ad04669e5751aa76d61aa41a..94fce89c69d3a557c97fe28f3fa7c2cffa16385e 100644 (file)
@@ -412,7 +412,7 @@ protected:
     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