aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/shl-lsr.c
blob: 4f4b7e66bbb3d12047ad867a1a914f7070c00bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
unsigned mask(unsigned x)
{
	return (x << 15) >> 15;
}

/*
 * check-name: shl-lsr
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-contains: and\\..*0x1ffff
 * check-output-excludes: lsr\\.
 * check-output-excludes: shl\\.
 */