[llvm-commits] [llvm] r132592 - /llvm/trunk/test/FrontendC/inline-asm-multichar.c
Eric Christopher
echristo at apple.com
Fri Jun 3 13:56:31 PDT 2011
Author: echristo
Date: Fri Jun 3 15:56:31 2011
New Revision: 132592
URL: http://llvm.org/viewvc/llvm-project?rev=132592&view=rev
Log:
Testcase for llvm-gcc commit r132591.
Part of rdar://9037836 and rdar://9119939
Added:
llvm/trunk/test/FrontendC/inline-asm-multichar.c
Added: llvm/trunk/test/FrontendC/inline-asm-multichar.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/inline-asm-multichar.c?rev=132592&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC/inline-asm-multichar.c (added)
+++ llvm/trunk/test/FrontendC/inline-asm-multichar.c Fri Jun 3 15:56:31 2011
@@ -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;
+}
More information about the llvm-commits
mailing list