From 3176e97f130184ece0e1a21352c8124cc83ff24a Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 30 Dec 2015 11:49:41 +0000 Subject: Vendor import of clang trunk r256633: https://llvm.org/svn/llvm-project/cfe/trunk@256633 --- test/CodeGen/c-strings.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/CodeGen/c-strings.c') diff --git a/test/CodeGen/c-strings.c b/test/CodeGen/c-strings.c index 974eeea..4e14d98 100644 --- a/test/CodeGen/c-strings.c +++ b/test/CodeGen/c-strings.c @@ -15,6 +15,11 @@ // MSABI: @f4.x = internal global %struct.s { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @"\01??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) } // CHECK: @x = global [3 x i8] c"ola", align [[ALIGN]] +// XFAIL: hexagon +// Hexagon aligns arrays of size 8+ bytes to a 64-bit boundary, which +// fails the check for "@f3.x = ... align [ALIGN]", since ALIGN is derived +// from the alignment of a single i8, which is still 1. + #if defined(__s390x__) unsigned char align = 2; #else -- cgit v1.1