aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/TargetLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 4ef969297e..94fce89c69 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