diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-24 13:22:50 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-24 13:22:50 +0000 |
commit | 539a2308a9c6c31144930f13830cd5354d07a0e1 (patch) | |
tree | 1b713cc3b80e2b50566bae74783555a457ab23d6 | |
parent | b000fb5999265d12d54a1ef9f31848c9e334dcaa (diff) |
On i386 the alignment of i64 is 4, not 8.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153380 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenCXX/pr12251.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/pr12251.cpp b/test/CodeGenCXX/pr12251.cpp index 267238bc17..c2a8d6fa23 100644 --- a/test/CodeGenCXX/pr12251.cpp +++ b/test/CodeGenCXX/pr12251.cpp @@ -81,14 +81,14 @@ enum e11 g11(enum e11 *x) { return *x; } // CHECK: define i64 @_Z3g11P3e11 -// CHECK: load i64* %x, align 8, !range !7 +// CHECK: load i64* %x, align {{[84]}}, !range !7 enum e12 {e12_a = 9223372036854775808U }; enum e12 g12(enum e12 *x) { return *x; } // CHECK: define i64 @_Z3g12P3e12 -// CHECK: load i64* %x, align 8 +// CHECK: load i64* %x, align {{[84]}} // CHECK-NOT: range // CHECK: ret |