Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / inline-asm-p-constraint.c
blobd1cca9afcba68e9f23d17af13953f8c5c8e85ef3
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple aarch64-linux-gnu | FileCheck %s
2 void foo(void* ptr) {
3 asm volatile("prfm pldl1keep, %a0\n" : : "p" (ptr));
4 // CHECK: call void asm sideeffect "prfm pldl1keep, ${0:a}\0A", "r"(ptr %0)
5 // CHECK-NOT: call void asm sideeffect "prfm pldl1keep, ${0:a}\0A", "p"(ptr %0)