[llvm-branch-commits] [llvm-branch] r113529 - in /llvm/branches/release_28: ./ test/FrontendC/2010-05-18-asmsched.c test/FrontendC/2010-07-14-overconservative-align.c test/FrontendC/asm-reg-var-local.c test/FrontendC/cstring-align.c

Bill Wendling isanbard at gmail.com
Thu Sep 9 13:10:22 PDT 2010


Author: void
Date: Thu Sep  9 15:10:22 2010
New Revision: 113529

URL: http://llvm.org/viewvc/llvm-project?rev=113529&view=rev
Log:
Approved by Duncan:

$ svn merge -c 113483 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r113483 into '.':
U    test/FrontendC/2010-05-18-asmsched.c
U    test/FrontendC/asm-reg-var-local.c
$ svn merge -c 113484 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r113484 into '.':
U    test/FrontendC/cstring-align.c
$ svn merge -c 113485 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r113485 into '.':
U    test/FrontendC/2010-07-14-overconservative-align.c

Fix tests to pass on platforms which don't support -m64.

Modified:
    llvm/branches/release_28/   (props changed)
    llvm/branches/release_28/test/FrontendC/2010-05-18-asmsched.c
    llvm/branches/release_28/test/FrontendC/2010-07-14-overconservative-align.c
    llvm/branches/release_28/test/FrontendC/asm-reg-var-local.c
    llvm/branches/release_28/test/FrontendC/cstring-align.c

Propchange: llvm/branches/release_28/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Sep  9 15:10:22 2010
@@ -1,2 +1,2 @@
 /llvm/branches/Apple/Pertwee:110850,110961
-/llvm/trunk:113109,113123,113146,113158,113255,113257,113260,113303,113345
+/llvm/trunk:113109,113123,113146,113158,113255,113257,113260,113303,113345,113483-113485

Modified: llvm/branches/release_28/test/FrontendC/2010-05-18-asmsched.c
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_28/test/FrontendC/2010-05-18-asmsched.c?rev=113529&r1=113528&r2=113529&view=diff
==============================================================================
--- llvm/branches/release_28/test/FrontendC/2010-05-18-asmsched.c (original)
+++ llvm/branches/release_28/test/FrontendC/2010-05-18-asmsched.c Thu Sep  9 15:10:22 2010
@@ -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 @@
   lr9 = x;
   lr10 = foo;
   asm volatile("bar" : "=r"(lr9) : "r"(lr9), "r"(lr10));
-}
\ No newline at end of file
+}

Modified: llvm/branches/release_28/test/FrontendC/2010-07-14-overconservative-align.c
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_28/test/FrontendC/2010-07-14-overconservative-align.c?rev=113529&r1=113528&r2=113529&view=diff
==============================================================================
--- llvm/branches/release_28/test/FrontendC/2010-07-14-overconservative-align.c (original)
+++ llvm/branches/release_28/test/FrontendC/2010-07-14-overconservative-align.c Thu Sep  9 15:10:22 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -emit-llvm -m64 -S -o - | FileCheck %s
+// RUN: %llvmgcc %s -emit-llvm -S -o - | FileCheck %s
 // PR 5995
 struct s {
     int word;
@@ -9,6 +9,6 @@
 
 void func (struct s *s)
 {
-// CHECK: load %struct.s** %s_addr, align 8
+// CHECK: load %struct.s** %s_addr, align {{[48]}}
     s->word = 0;
 }

Modified: llvm/branches/release_28/test/FrontendC/asm-reg-var-local.c
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_28/test/FrontendC/asm-reg-var-local.c?rev=113529&r1=113528&r2=113529&view=diff
==============================================================================
--- llvm/branches/release_28/test/FrontendC/asm-reg-var-local.c (original)
+++ llvm/branches/release_28/test/FrontendC/asm-reg-var-local.c Thu Sep  9 15:10:22 2010
@@ -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

Modified: llvm/branches/release_28/test/FrontendC/cstring-align.c
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_28/test/FrontendC/cstring-align.c?rev=113529&r1=113528&r2=113529&view=diff
==============================================================================
--- llvm/branches/release_28/test/FrontendC/cstring-align.c (original)
+++ llvm/branches/release_28/test/FrontendC/cstring-align.c Thu Sep  9 15:10:22 2010
@@ -1,6 +1,4 @@
-// RUN: %llvmgcc %s -c -Os -m32 -emit-llvm -o - | llc -march=x86 -mtriple=i386-apple-darwin10 | FileCheck %s -check-prefix=DARWIN32
-// RUN: %llvmgcc %s -c -Os -m64 -emit-llvm -o - | llc -march=x86-64 -mtriple=x86_64-apple-darwin10 | FileCheck %s -check-prefix=DARWIN64
-// XTARGET: darwin
+// RUN: %llvmgcc %s -c -Os -emit-llvm -o - | llc -march=x86 -mtriple=i386-apple-darwin10 | FileCheck %s
 
 extern void func(const char *, const char *);
 
@@ -8,10 +6,6 @@
   func("%s: the function name", __func__);
 }
 
-// DARWIN64: .align 4
-// DARWIN64: ___func__.
-// DARWIN64: .asciz "long_function_name"
-
-// DARWIN32: .align 4
-// DARWIN32: ___func__.
-// DARWIN32: .asciz "long_function_name"
+// CHECK: .align 4
+// CHECK: ___func__.
+// CHECK: .asciz "long_function_name"





More information about the llvm-branch-commits mailing list