This is an archive of the discontinued LLVM Phabricator instance.

[Clang][AVX512][intrinsics] Fix rcp and sqrt intrinsics.
ClosedPublic

Authored by m_zuckerman on May 19 2016, 8:45 AM.

Details

Summary

Separating between scalar intrinsics and vector intrinsics.

Bug description:
Clang lowers the rcp14_sd,rcp14_ss,rcqrt14_sd and rcqrt14_ss to a wrong instruction. This patch fixes this problem by adding new SDnode name. By that LLVM distinguishes between the two intrinsics.

Diff Detail

Repository
rL LLVM

Event Timeline

m_zuckerman retitled this revision from to [Clang][AVX512][intrinsics] Fix rcp and sqrt intrinsics..
m_zuckerman updated this object.
m_zuckerman updated this object.
m_zuckerman added reviewers: AsafBadouh, igorb, delena.
m_zuckerman updated this object.
m_zuckerman added a subscriber: llvm-commits.
delena accepted this revision.May 19 2016, 10:20 AM
delena edited edge metadata.
This revision is now accepted and ready to land.May 19 2016, 10:20 AM
This revision was automatically updated to reflect the committed changes.