aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/TableGen/Record.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/TableGen/Record.h b/include/llvm/TableGen/Record.h
index c7baaeb..adb1a77 100644
--- a/include/llvm/TableGen/Record.h
+++ b/include/llvm/TableGen/Record.h
@@ -689,7 +689,7 @@ public:
}
virtual Init *getBit(unsigned Bit) const {
- return BitInit::get((Value & (1 << Bit)) != 0);
+ return BitInit::get((Value & (1ULL << Bit)) != 0);
}
};