Skip to content

Commit

Permalink
Code cleanup and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
null-cell committed Mar 28, 2023
2 parents db034e5 + 796d0c0 commit 00bd22a
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 252 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ samples/sample
_sample*.txt
tmp
MANIFEST
.vscode

bindings/python/dist/
bindings/python/src/
Expand Down
18 changes: 0 additions & 18 deletions .vscode/c_cpp_properties.json

This file was deleted.

59 changes: 0 additions & 59 deletions .vscode/launch.json

This file was deleted.

66 changes: 0 additions & 66 deletions .vscode/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion bindings/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OBJDIR = ./build
else
OBJDIR = $(abspath $(BUILDDIR))/obj/bindings/python
endif

.PHONY: gen_const install install3 clean

gen_const:
Expand Down
95 changes: 0 additions & 95 deletions llvm/include/llvm/MC/LaneBitmask.h

This file was deleted.

11 changes: 0 additions & 11 deletions llvm/include/llvm/MC/MCAsmBackend.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,6 @@ class MCAsmBackend {
/// appropriate.
virtual void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
uint64_t Value, bool IsPCRel, unsigned int &KsError) const = 0;

/* /// Apply the \p Value for given \p Fixup into the provided data fragment, at
/// the offset specified by the fixup and following the fixup kind as
/// appropriate. Errors (such as an out of range fixup value) should be
/// reported via \p Ctx.
/// The \p STI is present only for fragments of type MCRelaxableFragment and
/// MCDataFragment with hasInstructions() == true.
virtual void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
const MCValue &Target, MutableArrayRef<char> Data,
uint64_t Value, bool IsResolved,
const MCSubtargetInfo *STI, unsigned int &KsError) const = 0; */

/// @}

Expand Down
2 changes: 1 addition & 1 deletion llvm/include/llvm/Support/ELF.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ enum {
EM_NORC = 218, // Nanoradio Optimized RISC
EM_CSR_KALIMBA = 219, // CSR Kalimba architecture family
EM_AMDGPU = 224, // AMD GPU architecture
EM_RISCV = 243, // RISC-V
EM_RISCV = 243, // RISC-V

// A request has been made to the maintainer of the official registry for
// such numbers for an official value for WebAssembly. As soon as one is
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/RISCV/RISCVGenRegisterInfo.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
|* Automatically generated file, do not edit! *|
|* *|
\*===----------------------------------------------------------------------===*/
#include "llvm/MC/LaneBitmask.h"

#ifdef GET_REGINFO_ENUM
#undef GET_REGINFO_ENUM
Expand Down

0 comments on commit 00bd22a

Please sign in to comment.