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

Problem when raise SPEC 2006 (403.gcc) #108

Open
Gxiandy opened this issue Jul 22, 2021 · 3 comments
Open

Problem when raise SPEC 2006 (403.gcc) #108

Gxiandy opened this issue Jul 22, 2021 · 3 comments

Comments

@Gxiandy
Copy link

Gxiandy commented Jul 22, 2021

When i tried to raise 403.gcc( a testcase in SPEC 2006 benchmark), i got such a Asseertion:
"Unexpected block terminator found".
This assertion is defined in llvm-mctoll/X86/X86FuncPrototypeDiscovery.cpp:250:
image
i dumped the TermInst, it is a "JMP64r $rax", so the OpType might be a MO_Register.
i guess it is a bug in MachineInstRaiser
attach with my test binary
Look forward to your reply!
gcc_base.zip

@Gxiandy
Copy link
Author

Gxiandy commented Jul 22, 2021

in my opinion, the terminate instruction of a BasicBlock can be any thing, so i don't understand this assertion

@bharadwajy
Copy link
Contributor

Thanks for for reporting the failure and for providing the zipped binary.

Please note the comment right above the code you quoted, for an explanation of the assert.

Any help with adding the necessary capability to address this failure - before I get around to it - is highly appreciated.

@Gxiandy
Copy link
Author

Gxiandy commented Jul 23, 2021

Thanks for your reply, I have noticed the comment, thank you

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

2 participants