I agree with Steve, this looks good. To add one thing: I'd also like to skip 
the libcalls when possible in fast-math mode.

================
Comment at: lib/CodeGen/CGExprComplex.cpp:590
@@ +589,3 @@
+  if (Result->getType()->isVectorTy()) {
+  ResR = CGF.Builder.CreateExtractElement(Result, CGF.Builder.getInt32(0));
+  ResI = CGF.Builder.CreateExtractElement(Result, CGF.Builder.getInt32(1));
----------------
Indent?

http://reviews.llvm.org/D5698



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to