aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/kill-cse.c
blob: 2e2b102462284c768b05fac68351ccbf633b7dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
int foo(int a)
{
	return ((a == 0) + 1) != ((a == 0) + 1);
}

/*
 * check-name: kill-cse
 * check-description:
 *	Verify that instructions removed at CSE are
 *	properly adjust the usage of their operands.
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-start
foo:
.L0:
	<entry-point>
	ret.32      $0


 * check-output-end
 */