[cfe-commits] r136039 - /cfe/trunk/test/CodeGen/2011-03-31-ArrayRefFolding.c
Eric Christopher
echristo at apple.com
Mon Jul 25 18:24:10 PDT 2011
Author: echristo
Date: Mon Jul 25 20:24:10 2011
New Revision: 136039
URL: http://llvm.org/viewvc/llvm-project?rev=136039&view=rev
Log:
Rework this slightly to work for optimized compilers and remove the
optimization from the test.
Modified:
cfe/trunk/test/CodeGen/2011-03-31-ArrayRefFolding.c
Modified: cfe/trunk/test/CodeGen/2011-03-31-ArrayRefFolding.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2011-03-31-ArrayRefFolding.c?rev=136039&r1=136038&r2=136039&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2011-03-31-ArrayRefFolding.c (original)
+++ cfe/trunk/test/CodeGen/2011-03-31-ArrayRefFolding.c Mon Jul 25 20:24:10 2011
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin -Os %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin %s | FileCheck %s
// PR9571
struct t {
@@ -9,7 +9,7 @@
int f(void) {
if (!(cfun + 0))
- // CHECK: icmp eq %struct.t* %tmp, null
+ // CHECK: icmp ne %struct.t*
return 0;
return cfun->x;
}
More information about the cfe-commits
mailing list