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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs