summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_gen_asm/memcpy-unroll-conprop.cmm
blob: be4883d34fbbc0e3004af8e7bf4ae95eb9e5d984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "Cmm.h"

// Check that we propagate the constants into the branch
callMemcpy (W_ dst, W_ src)
{
    W_ size;
    W_ alig;
    size = 16;
    alig = 4;
    if (dst != 0) {
      prim %memcpy(dst, src, size, alig);
    }
    return ();
}