From 6158d8492cc021bb47caee6d4755135ef1d855a4 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 1 Oct 2008 00:59:58 +0000 Subject: Implement the -fno-builtin option in the front-end, not in the back-end. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56900 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/CodeGen') diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 37297d6dcc..eba3a2a9ce 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -41,11 +41,6 @@ #include using namespace llvm; -static cl::opt -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; -- cgit v1.2.3-70-g09d2