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.
Paths
| Differential D82541
[AArch64] Emit warning when disassembling unpredictable LDRAA and LDRAB ClosedPublic Authored by vhscampos on Jun 25 2020, 4:35 AM.
Details Summary LDRAA and LDRAB in their writeback variant should softfail when the same This patch adds a custom decoder that catches such case and emits a
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls. · View Herald Transcript DavidSpickett added inline comments. vhscampos added inline comments.
Comment Actions LGTM
This revision is now accepted and ready to land.Jun 25 2020, 7:45 AM Closed by commit rGda852b03b009: [AArch64] Emit warning when disassembling unpredictable LDRAA and LDRAB (authored by vhscampos). · Explain WhyJun 25 2020, 8:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 273303 llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
llvm/test/MC/Disassembler/AArch64/armv8.3a-signed-pointer.txt
|
clang-tidy: warning: invalid case style for function 'DecodeAuthLoadInstruction' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'insn' [readability-identifier-naming]
not useful