[llvm-bugs] [Bug 49904] New: LLVM 12 regression: AArch64 backend generates incorrect code for ashr <i8 x 16>
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 9 01:05:22 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=49904
Bug ID: 49904
Summary: LLVM 12 regression: AArch64 backend generates
incorrect code for ashr <i8 x 16>
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: unassignedbugs at nondot.org
Reporter: amanieu at gmail.com
CC: arnaud.degrandmaison at arm.com,
llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
Ties.Stuij at arm.com
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210409/4c67ff4a/attachment.html>
More information about the llvm-bugs
mailing list