Skip to content

[CIR] Upstream handling for __builtin_prefetch #163886

@andykaylor

Description

@andykaylor

Overview

Upstream handling for the __builtin_prefetch function, including implemetation and lowering of the cir.prefetch operation.

Suggested minimal test case

void foo(void *a) {
  __builtin_prefetch(a, 1, 1);
}

Existing incubator tests

clang/test/CIR/CodeGen/builtin-prefetch.c

Metadata

Metadata

Assignees

Labels

ClangIRAnything related to the ClangIR project

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions