diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-10-10 18:57:10 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-10-10 18:57:10 +0000 |
commit | a586eb2c70feaa90c1028c12c7484790daba4c94 (patch) | |
tree | c5c5613cffc5e1a408fb4c7201f8e04968b113ff /clang/test/CodeGenCXX/predefined-expr-cxx14.cpp | |
parent | 325c5757aa3a754da02be6356f0c83e8ec4dc751 (diff) | |
download | bcm5719-llvm-a586eb2c70feaa90c1028c12c7484790daba4c94.tar.gz bcm5719-llvm-a586eb2c70feaa90c1028c12c7484790daba4c94.zip |
CodeGen: FieldMemcpyizer didn't handle copies starting inside bitfields
It's possible to construct cases where the first field we are trying to
copy is in the middle of an IR field. In some complicated cases, we
would fail to use an appropriate offset inside the object. Earlier
builds of clang seemed to miscompile the code by copying an insufficient
number of bytes. Up until now, we would assert: the copying offset was
insufficiently aligned.
This fixes PR21232.
llvm-svn: 219524
Diffstat (limited to 'clang/test/CodeGenCXX/predefined-expr-cxx14.cpp')
0 files changed, 0 insertions, 0 deletions