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
This commit is contained in:
Duncan Sands 2010-09-09 12:43:44 +00:00
parent ca64b6ad0e
commit 3dbbb3d398
2 changed files with 3 additions and 3 deletions

View 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));
}
}

View 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