[all-commits] [llvm/llvm-project] da852b: [AArch64] Emit warning when disassembling unpredic...

Victor Campos via All-commits all-commits at lists.llvm.org
Thu Jun 25 07:57:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: da852b03b009141b1deda8c4bda83149d64e7666
      https://github.com/llvm/llvm-project/commit/da852b03b009141b1deda8c4bda83149d64e7666
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
    M llvm/test/MC/Disassembler/AArch64/armv8.3a-signed-pointer.txt

  Log Message:
  -----------
  [AArch64] Emit warning when disassembling unpredictable LDRAA and LDRAB

Summary:
LDRAA and LDRAB in their writeback variant should softfail when the same
register is used as result and base.

This patch adds a custom decoder that catches such case and emits a
warning when it occurs.

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




More information about the All-commits mailing list