<commit_before>// RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep {retval\\|memtmp} | grep S242 | \
// RUN:   grep {i32 1} | count 1

// Test that all 8 bytes of ret in check242 are copied, and only 4 bytes of
// ret in check93 are copied (the same LLVM struct is used for both).

typedef __builtin_va_list va_list;
typedef unsigned long size_t;
void *memset(void *, int, size_t);
struct S92 { int a:14; } ;
 extern struct S92 s92;

 struct S92 check92 () { struct S92 ret;
 memset (&ret, 0, sizeof (ret));
 ret.a = s92.a;
 return ret; }

struct S93 { __attribute__((aligned (8))) void * a; } ;
 extern struct S93 s93;
 struct S93 check93 () { 
  struct S93 ret;
 memset (&ret, 0, sizeof (ret));
 ret.a = s93.a; 
 return ret; }

struct S242 { char * a;int b[1]; } ;
 extern struct S242 s242;

 struct S242 check242 () {
 struct S242 ret;
 memset (&ret, 0, sizeof (ret));
 ret.a = s242.a;
 ret.b[0] = s242.b[0];<commit_msg>Add -m32 to compilation line; test is only valid in 32-bit environment.  PR 2136.<commit_after>// RUN: %llvmgxx -S -O0 -m32 -emit-llvm %s -o - | grep {retval\\|memtmp} | \
// RUN: grep S242 | grep {i32 1} | count 1

// Test that all 8 bytes of ret in check242 are copied, and only 4 bytes of
// ret in check93 are copied (the same LLVM struct is used for both).

typedef __builtin_va_list va_list;
typedef unsigned long size_t;
void *memset(void *, int, size_t);
struct S92 { int a:14; } ;
 extern struct S92 s92;

 struct S92 check92 () { struct S92 ret;
 memset (&ret, 0, sizeof (ret));
 ret.a = s92.a;
 return ret; }

struct S93 { __attribute__((aligned (8))) void * a; } ;
 extern struct S93 s93;
 struct S93 check93 () { 
  struct S93 ret;
 memset (&ret, 0, sizeof (ret));
 ret.a = s93.a; 
 return ret; }

struct S242 { char * a;int b[1]; } ;
 extern struct S242 s242;

 struct S242 check242 () {
 struct S242 ret;
 memset (&ret, 0, sizeof (ret));
 ret.a = s242.a;
 ret.b[0] = s242.b[0];
{'fraction_non_alphanumeric': 0.14218504966021955, 'fraction_numerical': 0.08468374281233665, 'mean_word_length': 3.2439024390243905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1868317', 'n_tokens_mistral': 821, 'n_tokens_neox': 706, 'n_words': 273}