[PATCH] [complex] Teach the complex math IR gen to emit direct math and a NaN-test prior to the call to the library function.

hfinkel at anl.gov hfinkel at anl.gov
Tue Oct 14 09:36:34 PDT 2014


Aside from the missing _Complex long double functions (as mentioned below), LGTM.

================
Comment at: lib/CodeGen/CGExprComplex.cpp:608
@@ +607,3 @@
+    return "__mulxc3";
+  }
+}
----------------
What about PPC_FP128TyID, which gets __multc3 (or FP128TyID, which I think also gets __mulxc3)?

http://reviews.llvm.org/D5756






More information about the cfe-commits mailing list