diff options
| author | Diego Novillo <dnovillo@google.com> | 2015-10-15 16:36:21 +0000 |
|---|---|---|
| committer | Diego Novillo <dnovillo@google.com> | 2015-10-15 16:36:21 +0000 |
| commit | 38be33302c443f7bca45cad26855fea535516436 (patch) | |
| tree | 24ec2e74826a3fe8505cf7b58460646b08540d29 /clang/lib/CodeGen | |
| parent | 4f3589c779e342557fd28c8133b68f4d075b5d39 (diff) | |
| download | bcm5719-llvm-38be33302c443f7bca45cad26855fea535516436.tar.gz bcm5719-llvm-38be33302c443f7bca45cad26855fea535516436.zip | |
Sample Profiles - Adjust integer types. Mostly NFC.
This adjusts all integers in the reader/writer to reflect the types
stored on profile files. They should all be unsigned 32-bit or 64-bit
values. Changed all associated internal types to be uint32_t or
uint64_t.
The only place that needed some adjustments is in the sample profile
transformation. Altough the weight read from the profile are 64-bit
values, the internal API for branch weights only accepts 32-bit values.
The pass now saturates weights that overflow uint32_t.
llvm-svn: 250427
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

