repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2010-07-14-overconservative-align.c
blob
c3900468d25a34e46e9cdcae1f1b2ea50db77ddc
1
// RUN: %clang_cc1 %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
2
// PR 5995
3
struct
s
{
4
int
word
;
5
struct
{
6
int
filler
__attribute__
((
aligned
(
8
)));
7
};
8
};
9
10
void
func
(
struct
s
*
s
)
11
{
12
// CHECK: load ptr, ptr{{.*}}align 8
13
s
->
word
=
0
;
14
}