[llvm-bugs] [Bug 49550] New: non-trivial scalar-to-vector conversion when building valid-looking LLVM IR for MIPS
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 11 13:27:08 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49550
Bug ID: 49550
Summary: non-trivial scalar-to-vector conversion when building
valid-looking LLVM IR for MIPS
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: MIPS
Assignee: unassignedbugs at nondot.org
Reporter: simonas+llvm.org at kazlauskas.me
CC: llvm-bugs at lists.llvm.org
; RUN: llc -mtriple=mips64el-unknown-linux-gnu
define <3 x i1> @test_srem_vec(<3 x i32> %X) nounwind {
%srem = srem <3 x i32> %X, <i32 9, i32 9, i32 -9>
%cmp = icmp ne <3 x i32> %srem, <i32 3, i32 -3, i32 3>
ret <3 x i1> %cmp
}
This appears to be caused by the vector length of 3, works fine with vectors of
4 items. Also appears to work on the regular MIPS.
--
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/20210311/e5016611/attachment.html>
More information about the llvm-bugs
mailing list