[all-commits] [llvm/llvm-project] bc63ab: Prevent out of range fixup encoding on AArch64

Daniel Hoekwater via All-commits all-commits at lists.llvm.org
Fri Jun 16 15:30:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc63abab97d8c59f60126a5e16316cae3a96f6b1
      https://github.com/llvm/llvm-project/commit/bc63abab97d8c59f60126a5e16316cae3a96f6b1
  Author: Daniel Hoekwater <hoekwater at google.com>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
    A llvm/test/MC/AArch64/fixup-out-of-range-edge.s

  Log Message:
  -----------
  Prevent out of range fixup encoding on AArch64

The range of a 21-bit signed integer is [-1048576, 1048575],
not [-2097152, 2097151].

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




More information about the All-commits mailing list