Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / asm-call-func.c
blob18841c269632c666b79f73dfc0723d5d4fd7fb4b
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-unknown-linux-gnu| FileCheck %s
3 void callee(void);
4 void caller(void) {
5 //CHECK: call void asm sideeffect "rcall $0", "n,~{dirflag},~{fpsr},~{flags}"(ptr @callee)
6 asm("rcall %0" ::"n"(callee));