[llvm-bugs] [Bug 38810] New: masked gather broken on mips
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 3 03:19:06 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38810
Bug ID: 38810
Summary: masked gather broken on mips
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: dragan.mladjenovic at rt-rk.com, llvm-bugs at lists.llvm.org
declare <8 x float> @llvm.masked.gather.v8f32.v8p0f32(
<8 x float*>, i32, <8 x i1>, <8 x float>
)
define <8 x float> @foo(<8 x float*>, i32, <8 x i1>, <8 x float>) {
%5 = tail call <8 x float> @llvm.masked.gather.v8f32.v8p0f32(
<8 x float*> %0, i32 %1, <8 x i1> %2, <8 x float> %3
)
ret <8 x float> %5
}
errors with (https://gcc.godbolt.org/z/erTVaQ)
huge alignment values are unsupported
%Load0 = load float, float* %Ptr0, align 3221225472
huge alignment values are unsupported
%Load1 = load float, float* %Ptr1, align 3221225472
huge alignment values are unsupported
%Load2 = load float, float* %Ptr2, align 3221225472
huge alignment values are unsupported
%Load3 = load float, float* %Ptr3, align 3221225472
huge alignment values are unsupported
%Load4 = load float, float* %Ptr4, align 3221225472
huge alignment values are unsupported
%Load5 = load float, float* %Ptr5, align 3221225472
huge alignment values are unsupported
%Load6 = load float, float* %Ptr6, align 3221225472
huge alignment values are unsupported
%Load7 = load float, float* %Ptr7, align 3221225472
LLVM ERROR: Broken function found, compilation aborted!
Compiler returned: 1
---
A similar error is produced for `v16f32` (https://gcc.godbolt.org/z/44tbCt). I
tried the masked scatter instruction for both v8f32 and v16f32 and it seems to
be working properly (https://gcc.godbolt.org/z/GEyJ0G).
--
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/20180903/f54da370/attachment.html>
More information about the llvm-bugs
mailing list