[llvm-bugs] [Bug 39700] New: Add full legalization support for masked load/stores (inc compress/expand modes)
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Nov 18 06:28:34 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39700
Bug ID: 39700
Summary: Add full legalization support for masked load/stores
(inc compress/expand modes)
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: llvm-dev at redking.me.uk
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
spatel+llvm at rotateright.com
https://gcc.godbolt.org/z/-Rexo0
define <4 x float> @expandload_v4f32(float* %base, <4 x float> %src0) {
%res = call <4 x float> @llvm.masked.expandload.v4f32(float* %base, <4 x i1>
<i1 true, i1 true, i1 true, i1 false>, <4 x float> %src0)
ret <4 x float>%res
}
declare <4 x float> @llvm.masked.expandload.v4f32(float*, <4 x i1>, <4 x
float>)
define void @compressstore_v4f32(float* %base, <4 x float> %V) {
call void @llvm.masked.compressstore.v4f32(<4 x float> %V, float* %base, <4 x
i1> <i1 true, i1 true, i1 true, i1 false>)
ret void
}
declare void @llvm.masked.compressstore.v4f32(<4 x float>, float* , <4 x i1>)
--
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/20181118/18bc0a47/attachment.html>
More information about the llvm-bugs
mailing list