diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2017-12-06 19:15:28 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2017-12-06 19:15:28 +0000 |
commit | 273d261b8fc0796bcbcb14853ea9e9edcba5e6db (patch) | |
tree | 9028fbb90d4d75daa9df3e7726641d3cbc8be7f7 /llvm/lib/Object/COFFModuleDefinition.cpp | |
parent | 0ab9d8b6edd527173305abe48958bd566dc2e257 (diff) | |
download | llvm-273d261b8fc0796bcbcb14853ea9e9edcba5e6db.zip llvm-273d261b8fc0796bcbcb14853ea9e9edcba5e6db.tar.gz llvm-273d261b8fc0796bcbcb14853ea9e9edcba5e6db.tar.bz2 |
Fix PR35542: Correct adjusting of private reduction variable
The adjustment is calculated with CreatePtrDiff() which returns
the difference in (base) elements. This is passed to CreateGEP()
so make sure that the GEP base has the correct pointer type:
It needs to be a pointer to the base type, not a pointer to a
constant sized array.
Differential Revision: https://reviews.llvm.org/D40911
llvm-svn: 319931
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions