summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-03-24 13:22:50 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-03-24 13:22:50 +0000
commite2c1e6490995b321b6df393f05a9b99086085102 (patch)
tree326d9a65376d67f9e3211e1f75f732550106432c
parentf71cb8d3073986a9eff65ba42e1019a1e554829d (diff)
downloadbcm5719-llvm-e2c1e6490995b321b6df393f05a9b99086085102.tar.gz
bcm5719-llvm-e2c1e6490995b321b6df393f05a9b99086085102.zip
On i386 the alignment of i64 is 4, not 8.
llvm-svn: 153380
-rw-r--r--clang/test/CodeGenCXX/pr12251.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/pr12251.cpp b/clang/test/CodeGenCXX/pr12251.cpp
index 267238bc17f..c2a8d6fa234 100644
--- a/clang/test/CodeGenCXX/pr12251.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud