From: Eli Friedman Date: Tue, 17 Jun 2008 05:36:46 +0000 (+0000) Subject: Make this test actually pass, in addition to the previous patch X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5395ef04e96e5db3e86b11d362a9566d779a590d;p=clang 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 --- 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