r238245 - Remove the code in clang that is using TargetOptions::NoFramePointerElim.

Akira Hatanaka ahatanaka at apple.com
Tue May 26 13:18:26 PDT 2015


Author: ahatanak
Date: Tue May 26 15:18:26 2015
New Revision: 238245

URL: http://llvm.org/viewvc/llvm-project?rev=238245&view=rev
Log:
Remove the code in clang that is using TargetOptions::NoFramePointerElim.

This is the clang side change following r238244.

Modified:
    cfe/trunk/lib/CodeGen/BackendUtil.cpp

Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=238245&r1=238244&r2=238245&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Tue May 26 15:18:26 2015
@@ -491,15 +491,6 @@ TargetMachine *EmitAssemblyHelper::Creat
   if (CodeGenOpts.CompressDebugSections)
     Options.CompressDebugSections = true;
 
-  // Set frame pointer elimination mode.
-  if (!CodeGenOpts.DisableFPElim) {
-    Options.NoFramePointerElim = false;
-  } else if (CodeGenOpts.OmitLeafFramePointer) {
-    Options.NoFramePointerElim = false;
-  } else {
-    Options.NoFramePointerElim = true;
-  }
-
   if (CodeGenOpts.UseInitArray)
     Options.UseInitArray = true;
 





More information about the cfe-commits mailing list