[llvm] 5970249 - [Hexagon] Remove chksetELFHeaderEFlags (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 30 08:44:01 PDT 2021
Author: Kazu Hirata
Date: 2021-10-30T08:43:43-07:00
New Revision: 59702494390fc75c43e33018924495df9682ab93
URL: https://github.com/llvm/llvm-project/commit/59702494390fc75c43e33018924495df9682ab93
DIFF: https://github.com/llvm/llvm-project/commit/59702494390fc75c43e33018924495df9682ab93.diff
LOG: [Hexagon] Remove chksetELFHeaderEFlags (NFC)
The function was introduced without any use on Nov 9, 2015 in commit
7cd0892729801c45b170918159bc249bd9ee2b6b.
Added:
Modified:
llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp b/llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
index 3a0ded767ec1..d131cf896834 100644
--- a/llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
+++ b/llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
@@ -141,12 +141,6 @@ class HexagonAsmParser : public MCTargetAsmParser {
int processInstruction(MCInst &Inst, OperandVector const &Operands,
SMLoc IDLoc);
- // Check if we have an assembler and, if so, set the ELF e_header flags.
- void chksetELFHeaderEFlags(unsigned flags) {
- if (getAssembler())
- getAssembler()->setELFHeaderEFlags(flags);
- }
-
unsigned matchRegister(StringRef Name);
/// @name Auto-generated Match Functions
More information about the llvm-commits
mailing list