<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[AMDGPU] gfx1250 64-bit relocations and fixups (#148951)</title>
<updated>2025-07-16T00:13:42+00:00</updated>
<author>
<name>Stanislav Mekhanoshin</name>
<email>rampitec@users.noreply.github.com</email>
</author>
<published>2025-07-16T00:13:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2d6534b7daa0483f11f84d218fa1dc65eee44a93'/>
<id>2d6534b7daa0483f11f84d218fa1dc65eee44a93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MCFixup: Replace getTargetKind with getKind</title>
<updated>2025-07-15T07:21:07+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-07-15T07:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5ba458c559b04efca307dc86f8265cf6dffaf666'/>
<id>5ba458c559b04efca307dc86f8265cf6dffaf666</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Replace deprecated FK_PCRel_ with FK_Data_ fixup and PCRel flag</title>
<updated>2025-07-05T05:45:52+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-07-05T05:45:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=158fa4ae8389bbeff22438fca14764fdfa119bce'/>
<id>158fa4ae8389bbeff22438fca14764fdfa119bce</id>
<content type='text'>
We will unify the generic fixup kinds FK_Data_ and FK_PCRel_. A
FK_PCRel_ kind is essentially the corresponding FK_Data_ fixup with the
PCRel flag set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We will unify the generic fixup kinds FK_Data_ and FK_PCRel_. A
FK_PCRel_ kind is essentially the corresponding FK_Data_ fixup with the
PCRel flag set.
</pre>
</div>
</content>
</entry>
<entry>
<title>ELFObjectWriter: Remove the MCContext argument from getRelocType</title>
<updated>2025-05-25T04:48:11+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-05-25T04:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fe32806d67eef72ff406dbcdc6a28d882a00e3a3'/>
<id>fe32806d67eef72ff406dbcdc6a28d882a00e3a3</id>
<content type='text'>
Additionally, swap MCFixup/MCValue order to match addReloc/recordRelocation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Additionally, swap MCFixup/MCValue order to match addReloc/recordRelocation.
</pre>
</div>
</content>
</entry>
<entry>
<title>ELFObjectWriter: Replace Ctx.reportError with reportError</title>
<updated>2025-05-25T04:11:17+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-05-25T04:11:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=068868d7ac71226ffb75ffbc194e97b6e5aa7bbf'/>
<id>068868d7ac71226ffb75ffbc194e97b6e5aa7bbf</id>
<content type='text'>
Prepare for removing MCContext from getRelocType functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prepare for removing MCContext from getRelocType functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>ELFObjectWriter: Make .reloc test generic</title>
<updated>2025-04-13T06:02:24+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-04-13T06:02:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=19730e37ec5d3513d188a75999c964f2ef4b9509'/>
<id>19730e37ec5d3513d188a75999c964f2ef4b9509</id>
<content type='text'>
Move `Fixup.getKind() &gt;= FirstLiteralRelocationKind` from target hooks
to ELFObjectWriter::recordRelocation.

Currently, getRelocType cannot be skipped for LoongArch due to #135519
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move `Fixup.getKind() &gt;= FirstLiteralRelocationKind` from target hooks
to ELFObjectWriter::recordRelocation.

Currently, getRelocType cannot be skipped for LoongArch due to #135519
</pre>
</div>
</content>
</entry>
<entry>
<title>MCValue: Replace getAccessVariant with getSpecifier</title>
<updated>2025-04-06T06:55:35+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-04-06T06:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8fa5b6cc0293d806e36b90d4116e5925fa5d7f2e'/>
<id>8fa5b6cc0293d806e36b90d4116e5925fa5d7f2e</id>
<content type='text'>
Commit 52eb11f925ddeba4e1b3840fd636ee87387f3ada temporarily introduced
getSymSpecifier to prepare for "MCValue: Replace MCSymbolRefExpr members
with MCSymbol" (d5893fc2a7e1191afdb4940469ec9371a319b114). The
refactoring is now complete.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 52eb11f925ddeba4e1b3840fd636ee87387f3ada temporarily introduced
getSymSpecifier to prepare for "MCValue: Replace MCSymbolRefExpr members
with MCSymbol" (d5893fc2a7e1191afdb4940469ec9371a319b114). The
refactoring is now complete.
</pre>
</div>
</content>
</entry>
<entry>
<title>[AMDGPU,MC] Replace getSymA()-&gt;getSymbol() with getAddSym. NFC</title>
<updated>2025-04-05T21:04:00+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-04-05T21:04:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0431fea88ac9a057d1c8751da7f9506cf51f54c5'/>
<id>0431fea88ac9a057d1c8751da7f9506cf51f54c5</id>
<content type='text'>
We will replace the MCSymbolRefExpr member in MCValue with MCSymbol.
This change reduces dependence on MCSymbolRefExpr.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We will replace the MCSymbolRefExpr member in MCValue with MCSymbol.
This change reduces dependence on MCSymbolRefExpr.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move relocation specifiers to AMDGPUMCExpr::Specifier</title>
<updated>2025-03-30T19:12:38+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-03-30T19:12:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5a3d4036cff159e32aa4ab1b11fd6a25a50a456c'/>
<id>5a3d4036cff159e32aa4ab1b11fd6a25a50a456c</id>
<content type='text'>
Similar to previous migration done for all other ELF targets.
Switch from the confusing `VariantKind` to `Specifier`, which aligns
with Arm and IBM AIX's documentation.

Moving forward, relocation specifiers should be integrated into
AMDGPUMCExpr rather than MCSymbolRefExpr::SubclassData.

(Note: the term AMDGPUMCExpr::VariantKind is for expressions
without relocation specifiers:
https://github.com/llvm/llvm-project/pull/82022

It's up to AMDGPU maintainers to integrate these constants into Specifier.
)

Pull Request: https://github.com/llvm/llvm-project/pull/133608
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to previous migration done for all other ELF targets.
Switch from the confusing `VariantKind` to `Specifier`, which aligns
with Arm and IBM AIX's documentation.

Moving forward, relocation specifiers should be integrated into
AMDGPUMCExpr rather than MCSymbolRefExpr::SubclassData.

(Note: the term AMDGPUMCExpr::VariantKind is for expressions
without relocation specifiers:
https://github.com/llvm/llvm-project/pull/82022

It's up to AMDGPU maintainers to integrate these constants into Specifier.
)

Pull Request: https://github.com/llvm/llvm-project/pull/133608
</pre>
</div>
</content>
</entry>
<entry>
<title>[AMDGPU] Add an asm directive to track code_object_version (#76267)</title>
<updated>2024-01-21T16:54:47+00:00</updated>
<author>
<name>Emma Pilkington</name>
<email>emma.pilkington95@gmail.com</email>
</author>
<published>2024-01-21T16:54:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bc82cfb38d83f1afeb2c290aa472c2e2e88919cb'/>
<id>bc82cfb38d83f1afeb2c290aa472c2e2e88919cb</id>
<content type='text'>
Named '.amdhsa_code_object_version'. This directive sets the
e_ident[ABIVERSION] in the ELF header, and should be used as the assumed
COV for the rest of the asm file.

This commit also weakens the --amdhsa-code-object-version CL flag.
Previously, the CL flag took precedence over the IR flag. Now the IR
flag/asm directive take precedence over the CL flag. This is implemented
by merging a few COV-checking functions in AMDGPUBaseInfo.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Named '.amdhsa_code_object_version'. This directive sets the
e_ident[ABIVERSION] in the ELF header, and should be used as the assumed
COV for the rest of the asm file.

This commit also weakens the --amdhsa-code-object-version CL flag.
Previously, the CL flag took precedence over the IR flag. Now the IR
flag/asm directive take precedence over the CL flag. This is implemented
by merging a few COV-checking functions in AMDGPUBaseInfo.h.
</pre>
</div>
</content>
</entry>
</feed>
