[PATCH] D57898: CodeGen: Fix PR40605: split constant structures generated by -ftrivial-auto-var-init when emitting initializators
Alexander Potapenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 8 09:33:59 PST 2019
glider updated this revision to Diff 185990.
glider retitled this revision from "[RFC] Split constant structures generated by -ftrivial-auto-var-init when emitting initializators" to "CodeGen: Fix PR40605: split constant structures generated by -ftrivial-auto-var-init when emitting initializators".
glider edited the summary of this revision.
glider added a comment.
Updated the patch: instead of passing around forInit, match the constant type to pointer type.
I'm not quite sure how to show the resulting difference in code. Do you mean we need Clang to support both modes and to compare the resulting assembly?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57898/new/
https://reviews.llvm.org/D57898
Files:
tools/clang/lib/CodeGen/CGDecl.cpp
tools/clang/test/CodeGenCXX/auto-var-init.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57898.185990.patch
Type: text/x-patch
Size: 21078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190208/f4ef786e/attachment-0001.bin>
More information about the cfe-commits
mailing list