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

Remove the workaround for llvm.17868? #21514

Open
Chandlerooo opened this issue Jul 9, 2022 · 0 comments
Open

Remove the workaround for llvm.17868? #21514

Chandlerooo opened this issue Jul 9, 2022 · 0 comments

Comments

@Chandlerooo
Copy link

I notice there seems to be a workaround for llvm.17868 in line 1453 of ssa.c :
https://github.com/mono/mono/blob/main/mono/mini/ssa.c

/*
	* h->nesting is needed to work around:
	* http://llvm.org/bugs/show_bug.cgi?id=17868
	*/
if (!(idom && idom->last_ins && idom->last_ins->opcode == OP_BR && idom->last_ins->inst_target_bb == h && h->nesting == 1)) {
	continue;
}

This compiler bug is already marked as fixed due to can't be reproduced: https://bugs.llvm.org/show_bug.cgi?id=17868
Shall te above workaround be removed? Does this bug still exist?

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