[all-commits] [llvm/llvm-project] 319e77: [ARM] Verify addressing immediates

David Green via All-commits all-commits at lists.llvm.org
Sat Jan 1 12:08:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 319e77592f02ae479d92d47c691343e8aabfb714
      https://github.com/llvm/llvm-project/commit/319e77592f02ae479d92d47c691343e8aabfb714
  Author: David Green <david.green at arm.com>
  Date:   2022-01-01 (Sat, 01 Jan 2022)

  Changed paths:
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp

  Log Message:
  -----------
  [ARM] Verify addressing immediates

This adds at extra check into ARMBaseInstrInfo::verifyInstruction to
verify the offsets used in addressing mode immediates using
isLegalAddressImm. Some tests needed fixing up as a result, adjusting
the opcode created from CMSE stack adjustments.

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




More information about the All-commits mailing list