diff options
Diffstat (limited to 'test/CodeGen/bitfield-assign.c')
-rw-r--r-- | test/CodeGen/bitfield-assign.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/bitfield-assign.c b/test/CodeGen/bitfield-assign.c index b8ab61339cf6..270f44de52f3 100644 --- a/test/CodeGen/bitfield-assign.c +++ b/test/CodeGen/bitfield-assign.c @@ -4,14 +4,14 @@ /* Check that we get one load for each simple assign and two for the compound assign (load the old value before the add then load again to store back). Also check that our g0 pattern is good. */ -// RUN: %clang_cc1 -triple i386-unknown-unknown -O0 -emit-llvm -o %t %s +// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o %t %s // RUN: grep 'load ' %t | count 5 // RUN: grep "@g0" %t | count 4 // Check that we got the right value. // RUN: %clang_cc1 -triple i386-unknown-unknown -O3 -emit-llvm -o %t %s -// RUN: grep 'load ' %t | count 0 -// RUN: grep "@g0" %t | count 0 +// RUN: not grep 'load ' %t +// RUN: not grep "@g0" %t struct s0 { int f0 : 2; |