blob: 9b1082a198e3e1d4a51489dc85ec437e5e64ba3f [file] [log] [blame]
Stuart Hastings002333f2011-06-07 23:45:05 +00001// RUN: %clang_cc1 -triple thumb %s -emit-llvm -o - | FileCheck %s
2int t1() {
3 static float k = 1.0f;
4 // CHECK: flds s15
5 __asm__ volatile ("flds s15, %[k] \n" :: [k] "Uv" (k) : "s15");
6 return 0;
7}