OSDN Git Service

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 4ef9692..94fce89 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