-
Notifications
You must be signed in to change notification settings - Fork 15
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
[CTS] basic/if failed #16
Labels
bug
Something isn't working
Comments
Closed
上述代码在LLVM IR生成的时候,CPU执行逻辑会在if和else分支,dst[tid]这个内存地址统一存select之后的结果,如0x23456781或者0x7FFFFFFF,但是如https://github.com/THU-DSP-LAB/llvm-project/issues/16#issuecomment-1717686570,这上面贴的图,GPU else与if分支的结果不一样,需要分开存,对应到汇编码就是join语句之后的vmv这个操作,这个操作应该提前到每个分支执行 |
之前的提交有点问题:4bfde6a |
zhoujingya
pushed a commit
that referenced
this issue
Sep 25, 2023
When vmv instruction is in join block, need to check the register definition are in both else&if predecessors or not Github issue: #16
Solved by this commit 58e57e8 |
zhoujingya
pushed a commit
that referenced
this issue
Sep 26, 2023
When vmv instruction is in join block, need to check the register definition are in both else&if predecessors or not Github issue: #16
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A. set 32 threads , run test_basic if 32
B.
input data has 0x1 ,but output data is 0x7fffffff
The text was updated successfully, but these errors were encountered: