Skip to content

Commit 94ac7f2

Browse files
committed
Fix test for -emit-llvm
1 parent c0001b5 commit 94ac7f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/test/CodeGen/SystemZ/unaligned-symbols.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ unsigned char foo6 () {
105105

106106
// A weak symbol could be replaced with an unaligned one at link time.
107107
// CHECK-LABEL: foo7
108-
// CHECK-NOT: larl {{.*}}Weaksym
108+
// ALIGNED: %0 = load i8, ptr @Weaksym, align 2
109+
// UNALIGN: %0 = load i8, ptr @Weaksym, align 1
109110
unsigned char __attribute__((weak)) Weaksym = 0;
110111
unsigned char foo7 () {
111112
return Weaksym;

0 commit comments

Comments
 (0)