[all-commits] [llvm/llvm-project] c923d3: [BOLT] Fix ValidateMemRefs pass (#94406)

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Tue Jun 4 16:12:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c923d39509204c00d08240f04b96ce731646fb21
      https://github.com/llvm/llvm-project/commit/c923d39509204c00d08240f04b96ce731646fb21
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M bolt/lib/Passes/ValidateMemRefs.cpp
    A bolt/test/X86/jt-symbol-disambiguation-4.s

  Log Message:
  -----------
  [BOLT] Fix ValidateMemRefs pass (#94406)

In ValidateMemRefs pass, when we validate references in the form of
`Symbol + Addend`, we should check `Symbol` not `Symbol + Addend`
against aliasing a jump table.

Recommitting with a modified test case:
https://github.com/llvm/llvm-project/pull/88838

Co-authored-by: sinan <sinan.lin at linux.alibaba.com>



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