[all-commits] [llvm/llvm-project] 8901f8: AArch64 SVE restore SVE registers after expression

Muhammad Omair Javaid via All-commits all-commits at lists.llvm.org
Thu Sep 9 04:07:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8901f8beea3a70f92be8c0b80313260502f03727
      https://github.com/llvm/llvm-project/commit/8901f8beea3a70f92be8c0b80313260502f03727
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2021-09-09 (Thu, 09 Sep 2021)

  Changed paths:
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
    M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h
    M lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py
    M lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/main.c

  Log Message:
  -----------
  AArch64 SVE restore SVE registers after expression

This patch fixes register save/restore on expression call to also include SVE registers.

This will fix expression calls like:

re re p1

<Register Value P1 before expression>

p <var-name or function call>

re re p1

<Register Value P1 after expression>

In above example register P1 should remain the same before and after the expression evaluation.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D108739




More information about the All-commits mailing list