[llvm-bugs] [Bug 44239] New: Instruction selection fails for %llvm.ppc.altivec.vct* with a non-zero argument
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Dec 6 06:46:39 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44239
Bug ID: 44239
Summary: Instruction selection fails for %llvm.ppc.altivec.vct*
with a non-zero argument
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: colin.samples at gmail.com
CC: llvm-bugs at lists.llvm.org, nemanja.i.ibm at gmail.com
Created attachment 22912
--> https://bugs.llvm.org/attachment.cgi?id=22912&action=edit
C reproducer
Use of __builtin_altivec_vctsxs, __builtin_altivec_vctsxs,
__builtin_altivec_vctuxs, __builtin_altivec_vcfux with a non-zero immediate
argument result in: `LLVM ERROR: Cannot select: intrinsic
%llvm.ppc.altivec.vctsxs`.
Attached are C and IR reproducers.
Broken by r372285 (git d8399d12cd8). This commit make similar changes to other
architectures, so I wonder if there are any other cases.
The attached patch fixes the issue. Let me know if you want me to work up
something more formal to submit for review.
--
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/20191206/0f5ded9d/attachment.html>
More information about the llvm-bugs
mailing list