summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-10-01 00:59:58 +0000
committerBill Wendling <isanbard@gmail.com>2008-10-01 00:59:58 +0000
commit68f12ee567f797c82398df20c20f0b5db27bcab3 (patch)
tree3019824eae9e6b7b18cfa436a4dd55e7ebbaa10c /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent23fd462f48ace997471c31f39a7f9c8decc18026 (diff)
downloadbcm5719-llvm-68f12ee567f797c82398df20c20f0b5db27bcab3.tar.gz
bcm5719-llvm-68f12ee567f797c82398df20c20f0b5db27bcab3.zip
Implement the -fno-builtin option in the front-end, not in the back-end.
llvm-svn: 56900
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 37297d6dccd..eba3a2a9ce4 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -41,11 +41,6 @@
#include <cmath>
using namespace llvm;
-static cl::opt<bool>
-NoBuiltin("no-builtin", cl::init(false),
- cl::desc("Don't recognize built-in functions that do not begin "
- "with `__builtin_' as prefix"));
-
/// makeVTList - Return an instance of the SDVTList struct initialized with the
/// specified members.
static SDVTList makeVTList(const MVT *VTs, unsigned NumVTs) {
@@ -3195,7 +3190,7 @@ SDValue SelectionDAG::getMemset(SDValue Chain, SDValue Dst,
// code. If the target chooses to do this, this is the next best.
SDValue Result =
TLI.EmitTargetCodeForMemset(*this, Chain, Dst, Src, Size, Align,
- DstSV, DstSVOff, NoBuiltin);
+ DstSV, DstSVOff);
if (Result.getNode())
return Result;
OpenPOWER on IntegriCloud