aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2016-04-08 16:20:08 +0000
committerMichael Kruse <llvm@meinersbur.de>2016-04-08 16:20:08 +0000
commit436c90619c16bd8a7466b0105fa087c7147373c2 (patch)
tree00a14d551b49a653a636cd5ad67fb64d10625cf9 /clang/lib/CodeGen/CodeGenModule.cpp
parenta15fb15b0581ec6a187cceb677755800ba2fb58c (diff)
downloadllvm-436c90619c16bd8a7466b0105fa087c7147373c2.zip
llvm-436c90619c16bd8a7466b0105fa087c7147373c2.tar.gz
llvm-436c90619c16bd8a7466b0105fa087c7147373c2.tar.bz2
[ScopInfo] Fix check for element size mismatch.
The way to get the elements size with getPrimitiveSizeInBits() is not the same as used in other parts of Polly which should use DataLayout::getTypeAllocSize(). Its use only queries the size of the pointer and getPrimitiveSizeInBits returns 0 for types that require a DataLayout object such as pointers. Together with r265379, this should fix PR27195. llvm-svn: 265795
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions