This is an archive of the discontinued LLVM Phabricator instance.

[X86][AVX512] lowering broadcastm intrinsic - clang part
ClosedPublic

Authored by jina.nahias on Oct 9 2017, 3:52 AM.

Details

Summary

This is the clang part, the llvm part: https://reviews.llvm.org/D38684

Diff Detail

Event Timeline

jina.nahias created this revision.Oct 9 2017, 3:52 AM
jina.nahias edited the summary of this revision. (Show Details)Oct 9 2017, 3:56 AM
RKSimon added inline comments.Oct 10 2017, 6:01 AM
test/CodeGen/avx512cdintrin.c
106

Any reason why you can't use the actual insertion indices instead of regexps?

jina.nahias added inline comments.Oct 23 2017, 11:17 PM
test/CodeGen/avx512cdintrin.c
106

yes,
the cmpeq intrinsic returns a mask type.
if we wont send a mask type to the broadcastm intrinsic it would do a regular broadcast (not a mask broadcast).

RKSimon accepted this revision.Oct 29 2017, 4:50 AM

LGTM

This revision is now accepted and ready to land.Oct 29 2017, 4:50 AM
jina.nahias closed this revision.Nov 5 2017, 11:36 PM