diff options
author | Archibald Elliott <archibald.elliott@arm.com> | 2022-08-17 18:11:58 +0100 |
---|---|---|
committer | Archibald Elliott <archibald.elliott@arm.com> | 2022-08-19 09:11:18 +0100 |
commit | 270c179afd0ecf4de5f9b00af027e2033bbcf998 (patch) | |
tree | 1f68255f6d66ba83fda5595af60689f724817dc6 /libcxx/include/__algorithm/generate.h | |
parent | 3a729069e463440035284ae6a27798b2573223de (diff) | |
download | llvm-270c179afd0ecf4de5f9b00af027e2033bbcf998.zip llvm-270c179afd0ecf4de5f9b00af027e2033bbcf998.tar.gz llvm-270c179afd0ecf4de5f9b00af027e2033bbcf998.tar.bz2 |
[AArch64][GISel] Lower llvm.prefetch
This change adds support for lowering llvm.prefetch directly using
GlobalISel. Currently, llvm.prefetch falls back to SelectionDAG.
This Change:
- Adds an AArch64-specific G_PREFETCH generic instruction, to be used
where AArch64ISD::PREFETCH is used in SelectionDAG.
- Adds the GINodeEquiv so patterns are translated over to GlobalISel
automatically.
- Corrects the AArch64Prefetch patterns to use a target immediate, which
is needed to get the patterns to translate across correctly.
- Translates the SelectionDAG legalisation of the prefetch intrinsic
into the corresponding GlobalISel legalisation.
Differential Revision: https://reviews.llvm.org/D132043
Diffstat (limited to 'libcxx/include/__algorithm/generate.h')
0 files changed, 0 insertions, 0 deletions