diff options
| author | Bryce Wilson <bryce@brycemw.ca> | 2022-01-10 08:58:44 -0800 |
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2022-01-10 09:15:20 -0800 |
| commit | fb936595faa44ad9c8d8550b05ea95e7be5f4703 (patch) | |
| tree | ce25a4436a6375d9f90a433e0d7e6dfa5bb00768 /libcxx/include/__algorithm/includes.h | |
| parent | b271184f07ea20ab05a40c0806bab46572e41405 (diff) | |
| download | llvm-fb936595faa44ad9c8d8550b05ea95e7be5f4703.zip llvm-fb936595faa44ad9c8d8550b05ea95e7be5f4703.tar.gz llvm-fb936595faa44ad9c8d8550b05ea95e7be5f4703.tar.bz2 | |
[MemoryBuiltins] Add field for alignment argument [NFC]
There are a few places where the alignment argument for AlignedAllocLike functions was previously hardcoded. This patch adds an getAllocAlignment function and a change to the MemoryBuiltin table to allow alignment arguments to be found generically.
This will shortly allow alignment inference on operator new's with align_val params and an extension to Attributor's HeapToStack. The former will follow shortly - I split Bryce's patch for purpose of having the large change be NFC. The later will be reviewed separately.
Differential Revision: https://reviews.llvm.org/D116851 (part 1 of 2)
Diffstat (limited to 'libcxx/include/__algorithm/includes.h')
0 files changed, 0 insertions, 0 deletions
