]> granicus.if.org Git - clang/commitdiff
Make this test actually pass, in addition to the previous patch
authorEli Friedman <eli.friedman@gmail.com>
Tue, 17 Jun 2008 05:36:46 +0000 (05:36 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 17 Jun 2008 05:36:46 +0000 (05:36 +0000)
which made it work.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52382 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/bitfield.c

index 5f609b47b7c2730bd088661cb2e1befb346cd19b..0f7f13c78eb97c98c7ce61b21adf1c0fb95cb0d0 100644 (file)
@@ -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