aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2012-08-15 18:40:30 +0000
committerJohn Criswell <criswell@uiuc.edu>2012-08-15 18:40:30 +0000
commit9e4abb4aa90c9785dcbaf4e69a320e6a2983b526 (patch)
treee4389d6ce06eb4575fbb12fb4e78a817392f9e53 /lib/CodeGen
parent5aad79f8d54bf4356b2c8b9e56ace9ac8c39adb0 (diff)
Fix for PR#13606: http://llvm.org/bugs/show_bug.cgi?id=13606
Changed the alignment of an LValue to be 64 bits so that we can handle alignment values up to half of a 64-bit address space. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/CGValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGValue.h b/lib/CodeGen/CGValue.h
index a46f313f1f..c2b8e4da82 100644
--- a/lib/CodeGen/CGValue.h
+++ b/lib/CodeGen/CGValue.h
@@ -128,7 +128,7 @@ class LValue {
// The alignment to use when accessing this lvalue. (For vector elements,
// this is the alignment of the whole vector.)
- unsigned short Alignment;
+ int64_t Alignment;
// objective-c's ivar
bool Ivar:1;