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

[SPEC2006] w2ll: OPCODE_make_op: no opcode available: 0 0 0 #9

Open
Yvan-xy opened this issue Apr 27, 2023 · 2 comments
Open

[SPEC2006] w2ll: OPCODE_make_op: no opcode available: 0 0 0 #9

Yvan-xy opened this issue Apr 27, 2023 · 2 comments
Labels
w2ll WHIRL to LLVM

Comments

@Yvan-xy
Copy link
Member

Yvan-xy commented Apr 27, 2023

Extracted from 445.gobmk/engine/aftermath.c
xcalcc -c case.c

*aftermath_genmove_under_control;
aftermath_genmove_distance;
aftermath_genmove() {
  int pos;
  for (; pos; pos++)
    if (aftermath_genmove_distance)
      aftermath_genmove_under_control[pos] = 0;
    else
      aftermath_genmove_under_control[pos] = 1;
}

Got the following assertion:

### Assertion failure at line 223 of /home/xman/w2ll_dev/open64_build/../open64/osprey/common/com/opcode.h:
### Compiler Error during Reading WHIRL file phase:
### OPCODE_make_op: no opcode available: 0 0 0
Support Message:
    w2ll() [0x25679e1]
    w2ll() [0x2567ac8]
    w2ll(Fail_FmtAssertion+0x2d8) [0x2569beb]
    w2ll(OPCODE_make_op+0x64) [0x43eba8]
    w2ll(_Z9WN_opcodePK2WN+0x40) [0x440456]
    /home/xman/w2ll_dev/open64_install/lib/gcc-lib/x86_64-open64-linux/5.0/be.so(IPA_WN_MAP_Set+0x50) [0x7f1e4df3b575]
    /home/xman/w2ll_dev/open64_install/lib/gcc-lib/x86_64-open64-linux/5.0/be.so(_ZN22ARRAY_DIRECTED_GRAPH1610Add_VertexEP2WN+0x6d) [0x7f1e4ddbd173]
    /home/xman/w2ll_dev/open64_install/lib/gcc-lib/x86_64-open64-linux/5.0/be.so(Depgraph_Read+0xf9) [0x7f1e4ddbcb5d]
    /home/xman/w2ll_dev/open64_install/lib/gcc-lib/x86_64-open64-linux/5.0/be.so(_Z15WN_get_depgraphPvP7pu_info+0x144) [0x7f1e4def90bc]
    /home/xman/w2ll_dev/open64_install/lib/gcc-lib/x86_64-open64-linux/5.0/be.so(_Z15Read_Local_InfoP8mem_poolP7pu_info+0x2d1) [0x7f1e4def9a3d]
    w2ll() [0x434864]
    w2ll() [0x435d6e]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f1e4d400083]
    w2ll() [0x41fede]
@Yvan-xy Yvan-xy added the w2ll WHIRL to LLVM label Apr 27, 2023
@Yvan-xy
Copy link
Member Author

Yvan-xy commented May 19, 2023

e89cf5846dac967b092e9505a1afeeb1
It failed to load the WHIRL IR from the ".O" file.

@zqb-all
Copy link

zqb-all commented Oct 28, 2023

similar error in 456.hmmer

#38

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

No branches or pull requests

2 participants