[cfe-commits] r106971 - in /cfe/trunk/test/CodeGen: 2008-12-02-logical-or-fold.c exprs.c

Chris Lattner sabre at nondot.org
Sat Jun 26 18:08:04 PDT 2010


Author: lattner
Date: Sat Jun 26 20:08:03 2010
New Revision: 106971

URL: http://llvm.org/viewvc/llvm-project?rev=106971&view=rev
Log:
merge two tests.

Removed:
    cfe/trunk/test/CodeGen/2008-12-02-logical-or-fold.c
Modified:
    cfe/trunk/test/CodeGen/exprs.c

Removed: cfe/trunk/test/CodeGen/2008-12-02-logical-or-fold.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2008-12-02-logical-or-fold.c?rev=106970&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/2008-12-02-logical-or-fold.c (original)
+++ cfe/trunk/test/CodeGen/2008-12-02-logical-or-fold.c (removed)
@@ -1,4 +0,0 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s | grep "ret i32 1"
-// PR3150
-
-int a() {return 1||1;}

Modified: cfe/trunk/test/CodeGen/exprs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/exprs.c?rev=106971&r1=106970&r2=106971&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/exprs.c (original)
+++ cfe/trunk/test/CodeGen/exprs.c Sat Jun 26 20:08:03 2010
@@ -131,3 +131,9 @@
 // CHECK-NEXT: load i32*
 }
 
+int f12() {
+  // PR3150
+  // CHECK: define i32 @f12
+  // CHECK: ret i32 1
+  return 1||1;
+}





More information about the cfe-commits mailing list