[clang] 63bb8dc - [Mips] Remove mips from omitting the frame pointer for Linux (#199381)

via cfe-commits cfe-commits at lists.llvm.org
Sun May 24 20:34:45 PDT 2026


Author: Brad Smith
Date: 2026-05-24T23:34:41-04:00
New Revision: 63bb8dc70a1786165ae5bf472cadb1a90f91fa2f

URL: https://github.com/llvm/llvm-project/commit/63bb8dc70a1786165ae5bf472cadb1a90f91fa2f
DIFF: https://github.com/llvm/llvm-project/commit/63bb8dc70a1786165ae5bf472cadb1a90f91fa2f.diff

LOG: [Mips] Remove mips from omitting the frame pointer for Linux (#199381)

6b1f976858eea5a64f058ca48873be834bd79569 enabled omitting
the frame pointer no matter what OS so remove the now redundancy
with having this on the Linux path.

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/CommonArgs.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/CommonArgs.cpp b/clang/lib/Driver/ToolChains/CommonArgs.cpp
index 2ef7c1506e18d..6a0dcfca62c60 100644
--- a/clang/lib/Driver/ToolChains/CommonArgs.cpp
+++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp
@@ -121,10 +121,6 @@ static bool useFramePointerForTargetByDefault(const llvm::opt::ArgList &Args,
     case llvm::Triple::armeb:
     case llvm::Triple::thumb:
     case llvm::Triple::thumbeb:
-    case llvm::Triple::mips64:
-    case llvm::Triple::mips64el:
-    case llvm::Triple::mips:
-    case llvm::Triple::mipsel:
     case llvm::Triple::systemz:
     case llvm::Triple::x86:
     case llvm::Triple::x86_64:


        


More information about the cfe-commits mailing list