[all-commits] [llvm/llvm-project] f8cf33: [lld][Hexagon] Support predicated-add GOT_16_X mas...

Brian Cain via All-commits all-commits at lists.llvm.org
Mon Oct 14 23:56:54 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f8cf339563e2f38487de15ce11eddc4ea6c883af
      https://github.com/llvm/llvm-project/commit/f8cf339563e2f38487de15ce11eddc4ea6c883af
  Author: Brian Cain <bcain at quicinc.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M lld/ELF/Arch/Hexagon.cpp
    M lld/test/ELF/hexagon-shared.s

  Log Message:
  -----------
  [lld][Hexagon] Support predicated-add GOT_16_X mask lookup (#111896)

When encountering an instruction like `if (p0) r0 = add(r0,##bar at GOT)`,
lld would fail with:
```
ld.lld: error: unrecognized instruction for 16_X type: 0x7400C000
```

This issue was encountered while building libreadline with clang 19.1.0.

Fixes: #111876
(cherry picked from commit 77aa8257acbd773c0c430cd962da1bcfbd5ee94b)



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