From f081d02586a0524994a72799c2084ec350392fd5 Mon Sep 17 00:00:00 2001 From: Meador Inge Date: Thu, 20 Jun 2013 19:47:18 +0000 Subject: [PATCH] CodeGen: Don't set 'PMBuilder.DisableSimplifyLibCalls' The simplify-libcalls pass has been removed from LLVM. Thus 'PMBuilder.DisableSimplifyLibCalls' does not exist anymore. The disabling/enabling of library call simplifications is done through the TargetLibraryInfo which is already wired up in Clang. llvm-svn: 184458 --- clang/lib/CodeGen/BackendUtil.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 45079c098984..e173aa9314aa 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -221,7 +221,6 @@ void EmitAssemblyHelper::CreatePasses(TargetMachine *TM) { PMBuilder.OptLevel = OptLevel; PMBuilder.SizeLevel = CodeGenOpts.OptimizeSize; - PMBuilder.DisableSimplifyLibCalls = !CodeGenOpts.SimplifyLibCalls; PMBuilder.DisableUnitAtATime = !CodeGenOpts.UnitAtATime; PMBuilder.DisableUnrollLoops = !CodeGenOpts.UnrollLoops; -- GitLab