Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望打乱块顺序 #21

Open
kahotv opened this issue Apr 12, 2024 · 0 comments
Open

希望打乱块顺序 #21

kahotv opened this issue Apr 12, 2024 · 0 comments

Comments

@kahotv
Copy link

kahotv commented Apr 12, 2024

代码块(几乎)是连着的,希望能打乱一下顺序

编译器:ollvm-17.0.6
编译选项:(全开)

-mllvm -fla -mllvm -bcf -mllvm -bcf_prob=80 -mllvm -bcf_loop=3 -mllvm -sobf -mllvm -icall -mllvm -ibr -mllvm -igv -mllvm -sub -mllvm -sub_loop=3 -mllvm -split -mllvm -split_num=5

源代码:

#include <stdio.h>
int test(int n_argc, char** argv)
{
	int n_num = n_argc * 2;
	//scanf("%2d", &n_num);

	if (20 == n_num)
	{
		puts("20");
	}
	if (10 == n_num)
	{
		puts("10");
	}
	if (2 == n_num)
	{
		puts("2");
	}

	puts("error");

	return -1;
}

int main(int n_argc, char** argv)
{
	return test(n_argc, argv);
}

结果:
图片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant