[llvm-bugs] [Bug 37094] New: aarch64 vpminq_s16 fails to select
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Apr 11 14:09:34 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37094
Bug ID: 37094
Summary: aarch64 vpminq_s16 fails to select
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: gonzalobg88 at gmail.com
CC: llvm-bugs at lists.llvm.org
This (https://godbolt.org/g/EibFPf)
declare <8 x i16> @llvm.aarch64.neon.sminp.v8i16(<8 x i16>, <8 x i16>);
define <8 x i16> @vpminq_s16(<8 x i16> %a) {
%b = call <8 x i16> @llvm.aarch64.neon.sminp.v8i16(<8 x i16> %a, <8 x i16>
%a)
ret <8 x i16> %b
}
fails to select:
LLVM ERROR: Cannot select: intrinsic %llvm.aarch64.neon.sminp
---
I am trying to use from LLVM-IR the vpminq_s16 intrinsic which is an AArch64
intrinsic that maps to SMINP Vd.16B,Vn.16B,Vm.16B
See:
https://developer.arm.com/docs/dui0801/latest/a64-simd-vector-instructions/sminp-vector
--
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/20180411/63dc4539/attachment.html>
More information about the llvm-bugs
mailing list