Displaying 1 result from an estimated 1 matches for "asdsad".
Did you mean:
asdasd
2020 Nov 13
0
Question about LLVM region analysis
...header when grouping blocks into regions. Here is a simple example
code:
```region.c
void split(int a, int b) {
int aaa = a * b;
if (aaa > 100) {
for (int i = 0; i < 100; i++) {
printf("%d\n", i);
if (i == 10)
printf("asdsad\n");
}
} else if (aaa < 100) {
printf("elif\n");
}
}
```
Running "opt -regions -analyze region.ll" I got:
```
Printing analysis 'Detect single entry single exit regions' for
function 'split':
Region tree:
[0] entry => <Fu...