diff options
-rw-r--r-- | tools/llvm-mc/AsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp index 1d9e1b6cac..a2cdea4c4d 100644 --- a/tools/llvm-mc/AsmParser.cpp +++ b/tools/llvm-mc/AsmParser.cpp @@ -850,7 +850,7 @@ bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) { // Compute alignment in bytes. if (IsPow2) { // FIXME: Diagnose overflow. - Alignment = 1 << Alignment; + Alignment = 1LL << Alignment; } // Diagnose non-sensical max bytes to fill. |