projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5b7c356
)
Fix an integer truncation noticed by MSVC.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sun, 6 Sep 2009 09:35:10 +0000
(09:35 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sun, 6 Sep 2009 09:35:10 +0000
(09:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81109
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-mc/AsmParser.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-mc/AsmParser.cpp
b/tools/llvm-mc/AsmParser.cpp
index a7825615001ef7c4498c286574c8ad8c90a0b06a..f51f43adc1226461f6557a1ec2bd3f5b5d07ddc2 100644
(file)
--- a/
tools/llvm-mc/AsmParser.cpp
+++ b/
tools/llvm-mc/AsmParser.cpp
@@
-1111,7
+1111,7
@@
bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
Alignment = 31;
}
Alignment = 31;
}
- Alignment = 1 << Alignment;
+ Alignment = 1
ULL
<< Alignment;
}
// Diagnose non-sensical max bytes to align.
}
// Diagnose non-sensical max bytes to align.