HomePhabricator

[CommandLine] Reduce size of Option class

Description

[CommandLine] Reduce size of Option class

Summary:
Reduce size of Option class from 184 bytes to 136 bytes by
placing more member variables in Bit Field (16 bytes), and
reducing the initial sizes of Categories and Subs to 1 (32 bytes).

Saves about 48k for bin/opt.

Reviewed By: beanz

Tags: #llvm

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

Details

Committed
dhintonMay 18 2019, 1:46 PM
Reviewer
beanz
Differential Revision
D62091: [CommandLine] Reduce size of Option class
Parents
rL361106: [NFC][AArch64] Autogenerate fcopysign.ll test
Branches
Unknown
Tags
Unknown