[llvm] 23e2c1b - [llvm-objdump] Delete temporary Hexagon workaround options

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue May 4 11:05:17 PDT 2021


Author: Fangrui Song
Date: 2021-05-04T11:05:11-07:00
New Revision: 23e2c1b1b385c7677cd60867797abaa6e4e8f0f5

URL: https://github.com/llvm/llvm-project/commit/23e2c1b1b385c7677cd60867797abaa6e4e8f0f5
DIFF: https://github.com/llvm/llvm-project/commit/23e2c1b1b385c7677cd60867797abaa6e4e8f0f5.diff

LOG: [llvm-objdump] Delete temporary Hexagon workaround options

Added: 
    

Modified: 
    llvm/tools/llvm-objdump/ObjdumpOpts.td
    llvm/tools/llvm-objdump/llvm-objdump.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-objdump/ObjdumpOpts.td b/llvm/tools/llvm-objdump/ObjdumpOpts.td
index f36f94e05595..1b19733c65d0 100644
--- a/llvm/tools/llvm-objdump/ObjdumpOpts.td
+++ b/llvm/tools/llvm-objdump/ObjdumpOpts.td
@@ -204,20 +204,6 @@ def x86_asm_syntax_att : Flag<["--"], "x86-asm-syntax=att">,
 def x86_asm_syntax_intel : Flag<["--"], "x86-asm-syntax=intel">,
   HelpText<"Emit Intel-style disassembly">;
 
-def mhvx : Flag<["--"], "mhvx">, HelpText<"Enable Hexagon Vector eXtensions">;
-
-def mhvx_v66 : Flag<["--"], "mhvx=v66">;
-
-def mv60 : Flag<["--"], "mv60">, HelpText<"Build for Hexagon V60">;
-
-def mv65 : Flag<["--"], "mv65">, HelpText<"Build for Hexagon V65">;
-
-def mv66 : Flag<["--"], "mv66">, HelpText<"Build for Hexagon V66">;
-
-def mv67 : Flag<["--"], "mv67">, HelpText<"Build for Hexagon V67">;
-
-def mv67t : Flag<["--"], "mv67t">, HelpText<"Build for Hexagon V67T">;
-
 
 def grp_mach_o : OptionGroup<"kind">, HelpText<"llvm-objdump MachO Specific Options">;
 

diff  --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp
index cf548e0d8596..e46636442b1c 100644
--- a/llvm/tools/llvm-objdump/llvm-objdump.cpp
+++ b/llvm/tools/llvm-objdump/llvm-objdump.cpp
@@ -2482,20 +2482,6 @@ static void parseObjdumpOptions(const llvm::opt::InputArgList &InputArgs) {
       break;
     }
   }
-  if (InputArgs.hasArg(OBJDUMP_mhvx))
-    LLVMArgs.push_back("--mhvx");
-  if (InputArgs.hasArg(OBJDUMP_mhvx_v66))
-    LLVMArgs.push_back("--mhvx=v66");
-  if (InputArgs.hasArg(OBJDUMP_mv60))
-    LLVMArgs.push_back("--mv60");
-  if (InputArgs.hasArg(OBJDUMP_mv65))
-    LLVMArgs.push_back("--mv65");
-  if (InputArgs.hasArg(OBJDUMP_mv66))
-    LLVMArgs.push_back("--mv66");
-  if (InputArgs.hasArg(OBJDUMP_mv67))
-    LLVMArgs.push_back("--mv67");
-  if (InputArgs.hasArg(OBJDUMP_mv67t))
-    LLVMArgs.push_back("--mv67t");
   LLVMArgs.push_back(nullptr);
   llvm::cl::ParseCommandLineOptions(LLVMArgs.size() - 1, LLVMArgs.data());
 


        


More information about the llvm-commits mailing list