On i386, llvm-gcc cannot be assumed to support -m64. Since these
authorDuncan Sands <baldrick@free.fr>
Thu, 9 Sep 2010 12:43:44 +0000 (12:43 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 9 Sep 2010 12:43:44 +0000 (12:43 +0000)
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

test/FrontendC/2010-05-18-asmsched.c
test/FrontendC/asm-reg-var-local.c

index 34abbe3e5c5cda2931e17d4f0abfdc40a3777cb4..12e91405d10ff49bddeefb6b1467bcb0daf531f8 100644 (file)
@@ -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
+}
index 3a93c11fb3d1e00d6c1587fbf4087ba9a00f2a1f..22bd43c076d28a9e3dc1a6ad26ff6ad1c9055c12 100644 (file)
@@ -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