[llvm-commits] [llvm] r113485 - /llvm/trunk/test/FrontendC/2010-07-14-overconservative-align.c

Duncan Sands baldrick at free.fr
Thu Sep 9 05:57:29 PDT 2010


Author: baldrick
Date: Thu Sep  9 07:57:29 2010
New Revision: 113485

URL: http://llvm.org/viewvc/llvm-project?rev=113485&view=rev
Log:
Get rid of the last use of -m64 in FrontendC.  This solution
of checking for either 4 or 8 is not very satisfactory, but
it would catch the original problem (an alignment of 1).

Modified:
    llvm/trunk/test/FrontendC/2010-07-14-overconservative-align.c

Modified: llvm/trunk/test/FrontendC/2010-07-14-overconservative-align.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2010-07-14-overconservative-align.c?rev=113485&r1=113484&r2=113485&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/2010-07-14-overconservative-align.c (original)
+++ llvm/trunk/test/FrontendC/2010-07-14-overconservative-align.c Thu Sep  9 07:57:29 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;
 }





More information about the llvm-commits mailing list