diff options
author | Eli Bendersky <eliben@chromium.org> | 2013-06-27 17:36:11 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@chromium.org> | 2013-06-27 17:36:11 -0700 |
commit | 1af3e2717a02160bfb6ac96dc5ef505581eca3c9 (patch) | |
tree | 5940cdb8c0ac1865a6785f7396b1f91972bd8ef6 | |
parent | 359669b6c4987eda3a7a177c67c906af56f8bb73 (diff) |
Do not preserve "pow" for the sake of re-materializing intrinsics.
This is no longer required, since Clang will not generate llvm.pow.*
intrinsics.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3513
R=mseaborn@chromium.org
Review URL: https://codereview.chromium.org/18162002
-rw-r--r-- | lib/CodeGen/IntrinsicLowering.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp index f16e5978d9..166828042d 100644 --- a/lib/CodeGen/IntrinsicLowering.cpp +++ b/lib/CodeGen/IntrinsicLowering.cpp @@ -94,7 +94,7 @@ static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, // @LOCALMOD-BEGIN // Calls to these functions may materialize as part of a conversion -// from an intrinsics, e.g. llvm.memset -> memset +// from an intrinsic. // So if these functions are available in bitcode form we need to: // * make sure they do not get discarded -- if there is a chance that // a caller might materialize @@ -108,7 +108,6 @@ static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, // Bitcode can then internalize symbols. static const char *IntrinsicNames[] = { "abort", - "powf", "pow", "powl", NULL }; |