Stuart Hastings | 002333f | 2011-06-07 23:45:05 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple thumb %s -emit-llvm -o - | FileCheck %s |
2 | int 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 | } |