Skip to content

Commit

Permalink
[NFC] Test automatic variable initialization
Browse files Browse the repository at this point in the history
Summary:
r337887 started using memset for automatic variable initialization where sensible. A follow-up discussion leads me to believe that we should better test automatic variable initialization, and that there are probably follow-up patches in clang and LLVM to improve codegen. It’ll be important to measure -O0 compile time, and figure out which transforms should be in the frontend versus the backend.

This patch is just a test of the current behavior, no questions asked. Follow-up patches will tune the code generation.

<rdar://problem/42981573>

Subscribers: dexonsmith, cfe-commits

Differential Revision: https://reviews.llvm.org/D50361

llvm-svn: 339089
  • Loading branch information
jfbastien committed Aug 7, 2018
1 parent afdce66 commit c70f65e
Showing 1 changed file with 999 additions and 0 deletions.

0 comments on commit c70f65e

Please sign in to comment.