mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-15 18:36:27 +00:00

Conversion performed using the script at: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only tests where no manual fixup was required.
7 lines
255 B
C
7 lines
255 B
C
// RUN: %clang_cc1 -triple x86_64-pc-linux -emit-llvm %s -o - | FileCheck %s
|
|
|
|
void f(int __attribute__((address_space(1))) * a, ...) {
|
|
__builtin_prefetch(a, 0, 1);
|
|
// CHECK: call void @llvm.prefetch.p1(ptr addrspace(1) {{%.+}}, i32 0, i32 1, i32 1)
|
|
}
|