Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / X86 / Inputs / linenumber.cpp
blob8a754b9a98235fb86b5537ee59b6a103823184a9
1 int f() {
2 // This will be removed by BOLT but they make sure we have some extra space
3 // to insert branches and don't run out of space when rewritting the function.
4 asm("nop");
5 asm("nop");
6 asm("nop");
7 asm("nop");
8 asm("nop");
9 int x = 0xBEEF;
10 if (x & 0x32) {
11 x++;
12 } else {
13 --x;
15 return x;
18 int g() {
19 return f() + 1;
22 int main() {
23 int q = g() * f();
24 return 0;