Rework this slightly to work for optimized compilers and remove the
optimization from the test.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136039 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/2011-03-31-ArrayRefFolding.c b/test/CodeGen/2011-03-31-ArrayRefFolding.c
index 3fc5e5a..31c0a68 100644
--- a/test/CodeGen/2011-03-31-ArrayRefFolding.c
+++ b/test/CodeGen/2011-03-31-ArrayRefFolding.c
@@ -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;
 }