Commit 76fd58d0 authored by Carey Williams's avatar Carey Williams
Browse files

Revert "[ARM] Allocatable Global Register Variables for ARM"

This reverts commit 2d739f98.
parent c313a6bd
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
@@ -2430,31 +2430,10 @@ Enable XNACK (AMDGPU only)

ARM
---

.. option:: -ffixed-r6

Reserve the r6 register (ARM only)

.. option:: -ffixed-r7

Reserve the r7 register (ARM only)

.. option:: -ffixed-r8

Reserve the r8 register (ARM only)

.. option:: -ffixed-r9

Reserve the r9 register (ARM only)

.. option:: -ffixed-r10

Reserve the r10 register (ARM only)

.. option:: -ffixed-r11

Reserve the r11 register (ARM only)

.. option:: -mexecute-only, -mno-execute-only, -mpure-code

Disallow generation of data access to code sections (ARM only)
+0 −4
Original line number Diff line number Diff line
@@ -464,10 +464,6 @@ def warn_drv_msp430_hwmult_no_device : Warning<"no MCU device specified, but "
  "specify a MSP430 device, or -mhwmult to set hardware multiply type "
  "explicitly.">, InGroup<InvalidCommandLineArgument>;

// Frame pointer reservation.
def err_reserved_frame_pointer : Error<
  "'%0' has been specified but '%1' is used as the frame pointer for this target">;

def warn_drv_libstdcxx_not_found : Warning<
  "include path for libstdc++ headers not found; pass '-stdlib=libc++' on the "
  "command line to use the libc++ standard library instead">,
+0 −3
Original line number Diff line number Diff line
@@ -1120,6 +1120,3 @@ def CrossTU : DiagGroup<"ctu">;
def CTADMaybeUnsupported : DiagGroup<"ctad-maybe-unsupported">;

def FortifySource : DiagGroup<"fortify-source">;

// Register reservation.
def FixedRegs : DiagGroup<"fixed-registers">;
+0 −2
Original line number Diff line number Diff line
@@ -7743,8 +7743,6 @@ let CategoryName = "Inline Assembly Issue" in {
  def err_asm_unknown_register_name : Error<"unknown register name '%0' in asm">;
  def err_asm_invalid_global_var_reg : Error<"register '%0' unsuitable for "
    "global register variables on this target">;
  def err_asm_missing_fixed_reg_opt : Error<"-ffixed-%0 is required for "
    "global named register variable declaration">;
  def err_asm_register_size_mismatch : Error<"size of register '%0' does not "
    "match variable size">;
  def err_asm_bad_register_type : Error<"bad type for named register variable">;
+0 −6
Original line number Diff line number Diff line
@@ -938,12 +938,6 @@ public:
    return true;
  }

  /// Check if the register is reserved globally
  ///
  /// This function returns true if the register passed in RegName is reserved
  /// using the corresponding -ffixed-RegName option.
  virtual bool isRegisterReservedGlobally(StringRef) const { return true; }

  // validateOutputConstraint, validateInputConstraint - Checks that
  // a constraint is valid and provides information about it.
  // FIXME: These should return a real error instead of just true/false.
Loading