diff options
author | Eric Christopher <echristo@apple.com> | 2011-06-03 20:56:31 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-06-03 20:56:31 +0000 |
commit | ce8671c6127aafc819137f2e4dd067567187129b (patch) | |
tree | aef0ff656b9999f45e0eecd22317ebe3ac8070dd | |
parent | ce1ecf59c80db0ff922e599e4334258f9fa65783 (diff) |
Testcase for llvm-gcc commit r132591.
Part of rdar://9037836 and rdar://9119939
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132592 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FrontendC/inline-asm-multichar.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/FrontendC/inline-asm-multichar.c b/test/FrontendC/inline-asm-multichar.c new file mode 100644 index 0000000000..7e2eeef838 --- /dev/null +++ b/test/FrontendC/inline-asm-multichar.c @@ -0,0 +1,11 @@ +// RUN: %llvmgcc -S -march=armv7a %s + +// XFAIL: * +// XTARGET: arm + +int t1() { + static float k = 1.0f; +CHECK: call void asm sideeffect "flds s15, $0 \0A", "*^Uv,~{s15}" + __asm__ volatile ("flds s15, %[k] \n" :: [k] "Uv,m" (k) : "s15"); + return 0; +} |