summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-09-09 12:43:44 +0000
committerDuncan Sands <baldrick@free.fr>2010-09-09 12:43:44 +0000
commit3dbbb3d398318cb3c14bf650bda047a55dbb0f58 (patch)
treebbf098d0a96dca777f31fe60a56215689debf82e /test
parentca64b6ad0e7579d7b90ec2dde76d4fe8b3135cca (diff)
downloadllvm-3dbbb3d398318cb3c14bf650bda047a55dbb0f58.tar.gz
llvm-3dbbb3d398318cb3c14bf650bda047a55dbb0f58.tar.bz2
llvm-3dbbb3d398318cb3c14bf650bda047a55dbb0f58.tar.xz
On i386, llvm-gcc cannot be assumed to support -m64. Since these
tests pass here (i686-linux and x86-64-linux) without -m64, simply remove the -m64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/FrontendC/2010-05-18-asmsched.c4
-rw-r--r--test/FrontendC/asm-reg-var-local.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/FrontendC/2010-05-18-asmsched.c b/test/FrontendC/2010-05-18-asmsched.c
index 34abbe3e5c..12e91405d1 100644
--- a/test/FrontendC/2010-05-18-asmsched.c
+++ b/test/FrontendC/2010-05-18-asmsched.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -c -O3 -m64 -emit-llvm -o - | llc -march=x86-64 -mtriple=x86_64-apple-darwin | FileCheck %s
+// RUN: %llvmgcc %s -c -O3 -emit-llvm -o - | llc -march=x86-64 -mtriple=x86_64-apple-darwin | FileCheck %s
// r9 used to be clobbered before its value was moved to r10. 7993104.
void foo(int x, int y) {
@@ -14,4 +14,4 @@ void foo(int x, int y) {
lr9 = x;
lr10 = foo;
asm volatile("bar" : "=r"(lr9) : "r"(lr9), "r"(lr10));
-} \ No newline at end of file
+}
diff --git a/test/FrontendC/asm-reg-var-local.c b/test/FrontendC/asm-reg-var-local.c
index 3a93c11fb3..22bd43c076 100644
--- a/test/FrontendC/asm-reg-var-local.c
+++ b/test/FrontendC/asm-reg-var-local.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -m64 -S -o - | FileCheck %s
+// RUN: %llvmgcc %s -S -o - | FileCheck %s
// Exercise various use cases for local asm "register variables".
// XFAIL: *
// XTARGET: x86_64,i686,i386