This is an archive of the discontinued LLVM Phabricator instance.

[IR] Add intrinsics to represent complex multiply and divide instructions.
Needs ReviewPublic

Authored by jcranmer-intel on Feb 8 2022, 2:09 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This patch represents the first in a series of patches to bring a more
standardized version of complex values into LLVM. Representation of the complex
multiply and division instructions are added as intrinsics, and their precise
behavior is controlled via attributes and fast-math flags.

Diff Detail