[PATCH] D39177: [CodeGen] Generate TBAA info for reference loads
Ivan Kosarev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 23 01:17:42 PDT 2017
kosarev added inline comments.
Comment at: test/CodeGen/tbaa-reference.cpp:1
// RUN: %clang_cc1 -triple x86_64-linux -O1 -disable-llvm-passes %s -emit-llvm -o - | FileCheck %s
Changes for this test look somewhat complicated, so here's a short summary:
* We now test loading of reference parameter in B::B() and the constructor itself got an out-of-line definition, so we don't need the foo() function anymore. B::bar() is removed for the same reason.
* Added method B::get() to check that we load member references properly.
More information about the cfe-commits