[all-commits] [llvm/llvm-project] 58f086: Disable RelLookupTableConverter on AArch64 (#204669)

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Thu Jun 18 17:46:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58f086d0cd58252b2b18fa95f96a566a06e96a36
      https://github.com/llvm/llvm-project/commit/58f086d0cd58252b2b18fa95f96a566a06e96a36
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2026-06-18 (Thu, 18 Jun 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    A llvm/test/Transforms/RelLookupTableConverter/AArch64/no_relative_lookup_table.ll
    M llvm/test/Transforms/RelLookupTableConverter/unnamed_addr.ll

  Log Message:
  -----------
  Disable RelLookupTableConverter on AArch64 (#204669)

We're seeing miscompiles due to relative offsets overflowing 2GB.
AArch64 allows text + data to span up to 4GB in the small code model:
https://github.com/ARM-software/abi-aa/blob/main/sysvabi64/sysvabi64.rst#code-models.

We could also use 64-bit offsets, but I'll leave that for the futute.

Assisted-by: Gemini



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list