[PATCH] D110860: [flang] Improve runtime interface with C99 complex

Jean Perier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 10:49:37 PDT 2021


jeanPerier created this revision.
jeanPerier added reviewers: clementval, schweitz, sscalpone, klausler.
jeanPerier added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert, mgorny.
jeanPerier requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Follow up of https://reviews.llvm.org/D83397.

In folding, make pgmath usage conditional to C99 complex
support in C++. Disable warning in such case.

In lowering, use an empty class type to indicate C99 complex
type in runtime interface.

Add a unit test enforcing C99 complex can be processed
by FIR runtime interface builder.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110860

Files:
  flang/include/flang/Evaluate/pgmath.h.inc
  flang/lib/Evaluate/CMakeLists.txt
  flang/lib/Lower/RTBuilder.h
  flang/unittests/CMakeLists.txt
  flang/unittests/Lower/CMakeLists.txt
  flang/unittests/Lower/RTBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110860.376283.patch
Type: text/x-patch
Size: 12309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210930/74b0fa03/attachment.bin>


More information about the llvm-commits mailing list