summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-05 11:05:43 +0000
committerIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-05 11:05:43 +0000
commitafc074cc4149d8e16230fc0870458ed455c5e3ba (patch)
treeb5662b30e602ab0041638809dac208cd825007b4 /clang/lib/CodeGen/CodeGenFunction.cpp
parent6fa20cfea320bfcc45e7fa70a2ead481df8a4ce8 (diff)
downloadbcm5719-llvm-afc074cc4149d8e16230fc0870458ed455c5e3ba.tar.gz
bcm5719-llvm-afc074cc4149d8e16230fc0870458ed455c5e3ba.zip
Revert r314977 "[CodeGen] Unify generation of scalar and struct-path TBAA tags"
D37826 has been mistakenly committed where it should be the patch from D38503. Differential Revision: https://reviews.llvm.org/D38503 llvm-svn: 314978
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index df8211f8d7a..233396fc916 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -171,7 +171,7 @@ LValue CodeGenFunction::MakeNaturalAlignAddrLValue(llvm::Value *V, QualType T) {
LValueBaseInfo BaseInfo;
CharUnits Alignment = getNaturalTypeAlignment(T, &BaseInfo);
return LValue::MakeAddr(Address(V, Alignment), T, getContext(), BaseInfo,
- CGM.getTBAAAccessInfo(T));
+ CGM.getTBAATypeInfo(T));
}
/// Given a value of type T* that may not be to a complete object,
OpenPOWER on IntegriCloud