[PATCH] D13633: Type legalizer for masked gather/scatter intrinsics
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 11 04:08:33 PDT 2015
delena created this revision.
delena added reviewers: hfinkel, spatel, qcolombet.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.
Full type legalizer that works with all vectors length - from 2 to 16, (i32, i64, float, double).
This intrinsic, for example
void @llvm.masked.scatter.v2f32(<2 x float>%data , <2 x float*>%ptrs , i32 align , <2 x i1>%mask )
requires type widening for data and type promotion for mask.
Repository:
rL LLVM
http://reviews.llvm.org/D13633
Files:
../include/llvm/CodeGen/SelectionDAGNodes.h
../lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
../lib/CodeGen/SelectionDAG/LegalizeTypes.h
../lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
../lib/Target/X86/X86ISelLowering.cpp
../test/CodeGen/X86/masked_gather_scatter.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13633.37052.patch
Type: text/x-patch
Size: 64013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151011/3a3c48cf/attachment.bin>
More information about the llvm-commits
mailing list