brintos

brintos / llvm-project-archived public Read only

0
0
Text · 253 B · 18841c2 Raw
8 lines · c
1// RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-unknown-linux-gnu| FileCheck %s2 3void callee(void);4void caller(void) {5  //CHECK: call void asm sideeffect "rcall $0", "n,~{dirflag},~{fpsr},~{flags}"(ptr @callee)6  asm("rcall %0" ::"n"(callee));7}8