[cfe-commits] r52382 - /cfe/trunk/test/CodeGen/bitfield.c

Eli Friedman eli.friedman at gmail.com
Mon Jun 16 22:36:46 PDT 2008


Author: efriedma
Date: Tue Jun 17 00:36:46 2008
New Revision: 52382

URL: http://llvm.org/viewvc/llvm-project?rev=52382&view=rev
Log:
Make this test actually pass, in addition to the previous patch 
which made it work.


Modified:
    cfe/trunk/test/CodeGen/bitfield.c

Modified: cfe/trunk/test/CodeGen/bitfield.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/bitfield.c?rev=52382&r1=52381&r2=52382&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/bitfield.c (original)
+++ cfe/trunk/test/CodeGen/bitfield.c Tue Jun 17 00:36:46 2008
@@ -1,10 +1,10 @@
 // RUN: clang %s -emit-llvm -o - > %t1
-// RUN: grep "shl i32 %tmp, 19" %t1 &&
-// RUN: grep "ashr i32 %tmp1, 19" %t1 &&
-// RUN: grep "shl i16 %tmp4, 1" %t1 &&
-// RUN: grep "lshr i16 %tmp5, 9" %t1 &&
-// RUN: grep "and i32 %tmp, -8192" %t1 &&
-// RUN: grep "and i16 %tmp5, -32513" %t1 &&
+// RUN: grep "shl i32 .*, 19" %t1 &&
+// RUN: grep "ashr i32 .*, 19" %t1 &&
+// RUN: grep "shl i16 .*, 1" %t1 &&
+// RUN: grep "lshr i16 .*, 9" %t1 &&
+// RUN: grep "and i32 .*, -8192" %t1 &&
+// RUN: grep "and i16 .*, -32513" %t1 &&
 // RUN: grep "getelementptr (i32\* bitcast (.struct.STestB2\* @stb2 to i32\*), i32 1)" %t1
 // Test bitfield access
 





More information about the cfe-commits mailing list