[all-commits] [llvm/llvm-project] e2cee2: [BOLT][AArch64] Fixes assertion errors occurred wh...

Ádám Kallai via All-commits all-commits at lists.llvm.org
Fri Jul 5 05:24:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2cee2c1e6ee87f3e1ca8197d822919e24494a22
      https://github.com/llvm/llvm-project/commit/e2cee2c1e6ee87f3e1ca8197d822919e24494a22
  Author: Ádám Kallai <kadam at inf.u-szeged.hu>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    A bolt/test/AArch64/test-indirect-branch.s

  Log Message:
  -----------
  [BOLT][AArch64] Fixes assertion errors occurred when perf2bolt was executed (#83394)

BOLT only checks for the most common indirect branch pattern during the
branch analyzation.
Extended the logic with two other indirect patterns which slightly
differ from the expected one.
Those patterns may be hit when statically linking libc (pattern 2
requires 'lld' linker).

As a workaround mark them as UNKNOWN branch for now. 

Fixes: #83114



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