aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-06-17 05:36:46 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-06-17 05:36:46 +0000
commit5395ef04e96e5db3e86b11d362a9566d779a590d (patch)
tree3d80c77e2f7094a299f993e446880ca489031aa0
parent1060aff23f72135f8b50034a1e80f16725ebc56c (diff)
Make this test actually pass, in addition to the previous patch
which made it work. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52382 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/bitfield.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/bitfield.c b/test/CodeGen/bitfield.c
index 5f609b47b7..0f7f13c78e 100644
--- a/test/CodeGen/bitfield.c
+++ b/test/CodeGen/bitfield.c
@@ -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