summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/bitfield.c
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
commitfd4c32164c9acf153706dcaafb898f80380f5190 (patch)
tree34b89cacbf2a3ba3f019ced0e79882badb628c93 /clang/test/CodeGen/bitfield.c
parent0ae829e5d14d368d0e43ba74e0f39925da8c1788 (diff)
downloadbcm5719-llvm-fd4c32164c9acf153706dcaafb898f80380f5190.tar.gz
bcm5719-llvm-fd4c32164c9acf153706dcaafb898f80380f5190.zip
Make this test actually pass, in addition to the previous patch
which made it work. llvm-svn: 52382
Diffstat (limited to 'clang/test/CodeGen/bitfield.c')
-rw-r--r--clang/test/CodeGen/bitfield.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/CodeGen/bitfield.c b/clang/test/CodeGen/bitfield.c
index 5f609b47b7c..0f7f13c78eb 100644
--- a/clang/test/CodeGen/bitfield.c
+++ b/clang/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
OpenPOWER on IntegriCloud