blob: c26fd1453c7819948d432e2aea3a4640511b1746 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2// Radar 8026855
3
4int test (void *src) {
5 register int w0 asm ("0");
6 // CHECK: call i32 asm "ldr $0, [$1]", "={ax},r,~{dirflag},~{fpsr},~{flags}"(i8* %tmp)
7 asm ("ldr %0, [%1]": "=r" (w0): "r" (src));
8 return w0;
9}