[PATCH] D35522: Move Runtime libcall definitions to a .def file

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 14:05:19 PDT 2017


dblaikie added inline comments.


================
Comment at: lib/CodeGen/TargetLoweringBase.cpp:100-110
   if (TT.isGNUEnvironment()) {
     Names[RTLIB::SINCOS_F32] = "sincosf";
     Names[RTLIB::SINCOS_F64] = "sincos";
     Names[RTLIB::SINCOS_F80] = "sincosl";
     Names[RTLIB::SINCOS_F128] = "sincosl";
     Names[RTLIB::SINCOS_PPCF128] = "sincosl";
   }
----------------
Any reason these two are implemented differently (one has null in the table and initializer the values conditionally - the other has a value in the table and conditionally nulls it out here)?


https://reviews.llvm.org/D35522





More information about the llvm-commits mailing list