[LangRef] Fix TBAA example

llvm-svn: 333389
This commit is contained in:
Fangrui Song 2018-05-29 05:38:05 +00:00
parent 21aeddc3dc
commit 74d6a7400c
1 changed files with 1 additions and 1 deletions

View File

@ -4742,7 +4742,7 @@ As a concrete example, the type descriptor graph for the following program
void f(struct Outer* outer, struct Inner* inner, float* f, int* i, char* c) {
outer->f = 0; // tag0: (OuterStructTy, FloatScalarTy, 0)
outer->inner_a.i = 0; // tag1: (OuterStructTy, IntScalarTy, 12)
outer->inner_a.f = 0.0; // tag2: (OuterStructTy, IntScalarTy, 16)
outer->inner_a.f = 0.0; // tag2: (OuterStructTy, FloatScalarTy, 16)
*f = 0.0; // tag3: (FloatScalarTy, FloatScalarTy, 0)
}