We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
store <64 x i1> %1, <64 x i1>* ptr generates incorrect code.
store <64 x i1> %1, <64 x i1>* ptr
I attach the source code. I compiled these files with
clang -O2 -c -o main.o main.c clang -O2 -c -o visitelem.o visitelem.c llc -filetype=obj -o loadval.o loadval.ll gcc loadval.o main.o visitelem.o -o main ./main
Without store <64 x i1> %1, <64 x i1>* @​globalvar, align 8, in loadval.ll, it prints
store <64 x i1> %1, <64 x i1>* @​globalvar, align 8
visitelem : 1111 visitelem : 1111 visitelem : 0 visitelem : 0
However with the store it prints
visitelem : 0 visitelem : 0 visitelem : 0 visitelem : 0
even if %ptr and @globalvar points to distinct address.
%ptr
@globalvar
The text was updated successfully, but these errors were encountered:
mentioned in issue #30613
Sorry, something went wrong.
No branches or pull requests
Extended Description
store <64 x i1> %1, <64 x i1>* ptr
generates incorrect code.I attach the source code. I compiled these files with
Without
store <64 x i1> %1, <64 x i1>* @​globalvar, align 8
, in loadval.ll, it printsHowever with the store it prints
even if
%ptr
and@globalvar
points to distinct address.The text was updated successfully, but these errors were encountered: