[llvm-dev] Complex proposal v3 + roundtable agenda

David Greene via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 18 13:12:48 PST 2020


Krzysztof Parzyszek via llvm-dev <llvm-dev at lists.llvm.org> writes:

> Examples of complex instructions?

Sorry, I was referring specifically to this statement:

>> Without intrinsics it may be hard to use such instructions especially
>> because of the arithmetic simplifications.

I was asking the question in the context of intrinsics vs. a first-class
complex type.  Matching things like hardware support for complex
multiply is doable with either mechanism.  Your statement made it sound
like intrinsics were needed to *avoid* simplifcations in order to match
them to hardware instructions and that a first-class complex type (using
"normal" LLVM arithmetic instructions) would not be matchable to some
hardware instructions.  I was curious about what those cases would be.

                -David


More information about the llvm-dev mailing list