From bf57e1f456603b3f584ea42313bed89f630828fb Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 1 Mar 2006 00:58:54 +0000 Subject: [PATCH] Missing a cast previously. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26434 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetLowering.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 4ef969297e2..94fce89c69d 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -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