mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 11:06:07 +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
322 B
C
7 lines
322 B
C
// RUN: %clang_cc1 -emit-llvm %s -o - -triple aarch64-linux-gnu | FileCheck %s
|
|
void foo(void* ptr) {
|
|
asm volatile("prfm pldl1keep, %a0\n" : : "p" (ptr));
|
|
// CHECK: call void asm sideeffect "prfm pldl1keep, ${0:a}\0A", "r"(ptr %0)
|
|
// CHECK-NOT: call void asm sideeffect "prfm pldl1keep, ${0:a}\0A", "p"(ptr %0)
|
|
}
|