This is an archive of the discontinued LLVM Phabricator instance.

[X86][Clang] Converting __mm{|256|512}_movm_epi{8|16|32|64} LLVMIR call into generic intrinsics.
ClosedPublic

Authored by m_zuckerman on Mar 27 2017, 5:53 AM.

Details

Summary

This patch is a part two of two reviews, one for the clang and the other for LLVM.
In this patch, I covered the clang side, by introducing the intrinsic to the front end.
This is done by creating a generic replacement.

Diff Detail

Event Timeline

craig.topper edited edge metadata.Apr 3 2017, 9:24 AM

Y

lib/CodeGen/CGBuiltin.cpp
7176

Why can't we just use DstTy here to create the SExt?

m_zuckerman added inline comments.
lib/CodeGen/CGBuiltin.cpp
7176

You are right Thanks

craig.topper added inline comments.Apr 3 2017, 12:35 PM
lib/CodeGen/CGBuiltin.cpp
7176

That makes the IT parameter unnecessary now right? Which means we don't need to pass different values at the call site below.

m_zuckerman updated this revision to Diff 93941.Apr 3 2017, 2:03 PM
This revision is now accepted and ready to land.Apr 3 2017, 2:04 PM