aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp
index 7b8ff51ad6..0c035718a4 100644
--- a/lib/CodeGen/IntrinsicLowering.cpp
+++ b/lib/CodeGen/IntrinsicLowering.cpp
@@ -101,19 +101,15 @@ static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI,
// * make sure they do not get specialized for a given callsite
// Both problems are avoided by pretending there are unknown callers.
// The function: IntrinsicLowering::AddPrototypes() below does just that.
-// TODO(robertm): elaborate some more
+//
+// We are in the process of removing the need for this list.
+// Intrinsics that are truly supported will have versions of these
+// functions exported by native libs, so that they can be found.
+// Bitcode can then internalize symbols.
static const char *IntrinsicNames[] = {
"abort",
"memcpy", "memset", "memmove",
- "sqrtf", "sqrt", "sqrtl",
- "sinf", "sin", "sinl",
- "cosf", "cos", "cosl",
"powf", "pow", "powl",
- "logf", "log", "logl",
- "log2f", "log2", "log2l",
- "log10f", "log10", "log10l",
- "expf", "exp", "expl",
- "exp2f", "exp2", "exp2l",
NULL
};