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
IR:
define <16 x i8> @simd_ashr(<16 x i8> %a, <16 x i8> %b) { start: %0 = ashr <16 x i8> %a, %b ret <16 x i8> %0 }
llc -march=aarch64 -global-isel=1 -O0 test.ll
simd_ashr: // @simd_ashr // %bb.0: // %start neg v1.8h, v1.8h sshl v0.16b, v0.16b, v1.16b ret
The neg instruction should be using .16b instead of .8h.
The text was updated successfully, but these errors were encountered:
assigned to @tstellar
Sorry, something went wrong.
Thanks! Fixed in 40e75ca
Reopening for LLVM 12 backport (or 12.0.1, depending on where things stand).
Awesome, thanks Amara!
Hi Tim,
What is your opinion on backporting this?
https://reviews.llvm.org/rG40e75cafc0fef365b5580a9c09595ac475db0c19
Looks very simple to me, so I say yes.
Merged: 24535af
tstellar
No branches or pull requests
Extended Description
IR:
define <16 x i8> @simd_ashr(<16 x i8> %a, <16 x i8> %b) {
start:
%0 = ashr <16 x i8> %a, %b
ret <16 x i8> %0
}
llc -march=aarch64 -global-isel=1 -O0 test.ll
simd_ashr: // @simd_ashr
// %bb.0: // %start
neg v1.8h, v1.8h
sshl v0.16b, v0.16b, v1.16b
ret
The neg instruction should be using .16b instead of .8h.
The text was updated successfully, but these errors were encountered: