diff options
author | Eli Bendersky <eliben@chromium.org> | 2013-07-12 15:19:54 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@chromium.org> | 2013-07-12 15:19:54 -0700 |
commit | 99a5501f5ae5b75017dfc386d4abf648234e85df (patch) | |
tree | a662eae5ea83e9317fb6ae61f0eaea005bd4d1f0 /lib/CodeGen/TargetInfo.cpp | |
parent | 3fd9ccdd9f8d259bcf518e7056cfd419d992e984 (diff) | |
parent | f69ebb4201da8bb5045f9335150ed6ef6bcfc2cc (diff) |
Merge branch 'master' of http://git.chromium.org/native_client/pnacl-clang
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 81267ca767..612e72bdd7 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -416,6 +416,10 @@ class PNaClTargetCodeGenInfo : public TargetCodeGenInfo { public: PNaClTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT) : TargetCodeGenInfo(new PNaClABIInfo(CGT)) {} + + /// For PNaCl we don't want llvm.pow.* intrinsics to be emitted instead + /// of library function calls. + bool emitIntrinsicForPow() const { return false; } }; void PNaClABIInfo::computeInfo(CGFunctionInfo &FI) const { |