<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Target/CSKY/CSKYAsmPrinter.cpp, branch users/nico/python-2</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>CSKY: Migrate to the new relocation specifier representation</title>
<updated>2025-06-28T22:33:04+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-06-28T22:33:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2ed04016120f18b35967b8b5a2ed54406a9711fd'/>
<id>2ed04016120f18b35967b8b5a2ed54406a9711fd</id>
<content type='text'>
Use MCSpecifierExpr directly and remove the CSKYMCExpr subclass. Define
printImpl within CSKYMCAsmInfo.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use MCSpecifierExpr directly and remove the CSKYMCExpr subclass. Define
printImpl within CSKYMCAsmInfo.
</pre>
</div>
</content>
</entry>
<entry>
<title>[CSKY] Rename VK_CSKY_ to VK_ and VariantKind to Specifier</title>
<updated>2025-03-23T03:55:59+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-03-23T03:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=88601d97a4b33ff157d3ffe8a9026c5e8162851b'/>
<id>88601d97a4b33ff157d3ffe8a9026c5e8162851b</id>
<content type='text'>
Similar to the simplification for RISCV and other targets.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to the simplification for RISCV and other targets.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MC] Remove unneeded VK_None argument from MCSymbolRefExpr::create. NFC</title>
<updated>2025-03-06T07:14:04+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2025-03-06T07:14:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fe56c4c01972edc51c415c4f410739bbec9f7d13'/>
<id>fe56c4c01972edc51c415c4f410739bbec9f7d13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[AsmPrinter] Don't EmitToStreamer instructions lowered by tblgenned code (#100803)</title>
<updated>2024-07-29T16:18:18+00:00</updated>
<author>
<name>Sergei Barannikov</name>
<email>barannikov88@gmail.com</email>
</author>
<published>2024-07-29T16:18:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7a2a36f952e5f1c0184e5de0bb8a32b5d2382427'/>
<id>7a2a36f952e5f1c0184e5de0bb8a32b5d2382427</id>
<content type='text'>
This allows lowering individual instructions in a bundle before a single
call to EmitToStreamer for VLIW targets.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows lowering individual instructions in a bundle before a single
call to EmitToStreamer for VLIW targets.</pre>
</div>
</content>
</entry>
<entry>
<title>[CSKY] Fix errors caused by change of compressInst</title>
<updated>2023-01-18T09:01:16+00:00</updated>
<author>
<name>wangpc</name>
<email>pc.wang@linux.alibaba.com</email>
</author>
<published>2023-01-18T08:49:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e4abfc4c3cf47297136bbf06b0f59da50d3f260e'/>
<id>e4abfc4c3cf47297136bbf06b0f59da50d3f260e</id>
<content type='text'>
We don't need MCContext since D141951.

Reviewed By: zixuan-wu

Differential Revision: https://reviews.llvm.org/D141995
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't need MCContext since D141951.

Reviewed By: zixuan-wu

Differential Revision: https://reviews.llvm.org/D141995
</pre>
</div>
</content>
</entry>
<entry>
<title>[CSKY][NFC] Fix the compiling error of CSKYAsmPrinter.cpp</title>
<updated>2022-11-28T05:49:11+00:00</updated>
<author>
<name>Zi Xuan Wu (Zeson)</name>
<email>zixuan.wu@linux.alibaba.com</email>
</author>
<published>2022-11-28T05:47:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e52a41d0a2c1f880c0a99642ead09984448dd848'/>
<id>e52a41d0a2c1f880c0a99642ead09984448dd848</id>
<content type='text'>
emitValueToAlignment API changes the interface to use Align object to
wrap integer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
emitValueToAlignment API changes the interface to use Align object to
wrap integer.
</pre>
</div>
</content>
</entry>
<entry>
<title>[CSKY] Lower ISD::ConstantPool node to support getting the address of ConstantPool entry</title>
<updated>2022-11-21T02:37:20+00:00</updated>
<author>
<name>Zi Xuan Wu (Zeson)</name>
<email>zixuan.wu@linux.alibaba.com</email>
</author>
<published>2022-11-21T01:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f4d61cdf9cc3a24d08fc0145a567a339ac347cdb'/>
<id>f4d61cdf9cc3a24d08fc0145a567a339ac347cdb</id>
<content type='text'>
When there is not GRS or MOVIH/ORI instruction, we can not get the address of
ConstantPool entry directly. So we need put the address into ConstantPool to leverage CSKY::LRW instruction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When there is not GRS or MOVIH/ORI instruction, we can not get the address of
ConstantPool entry directly. So we need put the address into ConstantPool to leverage CSKY::LRW instruction.
</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Move instruction predicate verification to emitInstruction</title>
<updated>2022-07-14T08:33:28+00:00</updated>
<author>
<name>David Green</name>
<email>david.green@arm.com</email>
</author>
<published>2022-07-14T08:33:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3e0bf1c7a9a4df5880f7a2c2d987c61b78fb499d'/>
<id>3e0bf1c7a9a4df5880f7a2c2d987c61b78fb499d</id>
<content type='text'>
D25618 added a method to verify the instruction predicates for an
emitted instruction, through verifyInstructionPredicates added into
&lt;Target&gt;MCCodeEmitter::encodeInstruction. This is a very useful idea,
but the implementation inside MCCodeEmitter made it only fire for object
files, not assembly which most of the llvm test suite uses.

This patch moves the code into the &lt;Target&gt;_MC::verifyInstructionPredicates
method, inside the InstrInfo.  The allows it to be called from other
places, such as in this patch where it is called from the
&lt;Target&gt;AsmPrinter::emitInstruction methods which should trigger for
both assembly and object files. It can also be called from other places
such as verifyInstruction, but that is not done here (it tends to catch
errors earlier, but in reality just shows all the mir tests that have
incorrect feature predicates). The interface was also simplified
slightly, moving computeAvailableFeatures into the function so that it
does not need to be called externally.

The ARM, AMDGPU (but not R600), AVR, Mips and X86 backends all currently
show errors in the test-suite, so have been disabled with FIXME
comments.

Recommitted with some fixes for the leftover MCII variables in release
builds.

Differential Revision: https://reviews.llvm.org/D129506
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
D25618 added a method to verify the instruction predicates for an
emitted instruction, through verifyInstructionPredicates added into
&lt;Target&gt;MCCodeEmitter::encodeInstruction. This is a very useful idea,
but the implementation inside MCCodeEmitter made it only fire for object
files, not assembly which most of the llvm test suite uses.

This patch moves the code into the &lt;Target&gt;_MC::verifyInstructionPredicates
method, inside the InstrInfo.  The allows it to be called from other
places, such as in this patch where it is called from the
&lt;Target&gt;AsmPrinter::emitInstruction methods which should trigger for
both assembly and object files. It can also be called from other places
such as verifyInstruction, but that is not done here (it tends to catch
errors earlier, but in reality just shows all the mir tests that have
incorrect feature predicates). The interface was also simplified
slightly, moving computeAvailableFeatures into the function so that it
does not need to be called externally.

The ARM, AMDGPU (but not R600), AVR, Mips and X86 backends all currently
show errors in the test-suite, so have been disabled with FIXME
comments.

Recommitted with some fixes for the leftover MCII variables in release
builds.

Differential Revision: https://reviews.llvm.org/D129506
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Move instruction predicate verification to emitInstruction"</title>
<updated>2022-07-13T12:28:11+00:00</updated>
<author>
<name>David Green</name>
<email>david.green@arm.com</email>
</author>
<published>2022-07-13T12:28:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=95252133e125f36f5ce78192525ea23554fb5901'/>
<id>95252133e125f36f5ce78192525ea23554fb5901</id>
<content type='text'>
This reverts commit e2fb8c0f4b940e0285ee36c112469fa75d4b60ff as it does
not build for Release builds, and some buildbots are giving more warning
than I saw locally. Reverting to fix those issues.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e2fb8c0f4b940e0285ee36c112469fa75d4b60ff as it does
not build for Release builds, and some buildbots are giving more warning
than I saw locally. Reverting to fix those issues.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move instruction predicate verification to emitInstruction</title>
<updated>2022-07-13T11:53:32+00:00</updated>
<author>
<name>David Green</name>
<email>david.green@arm.com</email>
</author>
<published>2022-07-13T11:53:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e2fb8c0f4b940e0285ee36c112469fa75d4b60ff'/>
<id>e2fb8c0f4b940e0285ee36c112469fa75d4b60ff</id>
<content type='text'>
D25618 added a method to verify the instruction predicates for an
emitted instruction, through verifyInstructionPredicates added into
&lt;Target&gt;MCCodeEmitter::encodeInstruction. This is a very useful idea,
but the implementation inside MCCodeEmitter made it only fire for object
files, not assembly which most of the llvm test suite uses.

This patch moves the code into the &lt;Target&gt;_MC::verifyInstructionPredicates
method, inside the InstrInfo.  The allows it to be called from other
places, such as in this patch where it is called from the
&lt;Target&gt;AsmPrinter::emitInstruction methods which should trigger for
both assembly and object files. It can also be called from other places
such as verifyInstruction, but that is not done here (it tends to catch
errors earlier, but in reality just shows all the mir tests that have
incorrect feature predicates). The interface was also simplified
slightly, moving computeAvailableFeatures into the function so that it
does not need to be called externally.

The ARM, AMDGPU (but not R600), AVR, Mips and X86 backends all currently
show errors in the test-suite, so have been disabled with FIXME
comments.

Differential Revision: https://reviews.llvm.org/D129506
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
D25618 added a method to verify the instruction predicates for an
emitted instruction, through verifyInstructionPredicates added into
&lt;Target&gt;MCCodeEmitter::encodeInstruction. This is a very useful idea,
but the implementation inside MCCodeEmitter made it only fire for object
files, not assembly which most of the llvm test suite uses.

This patch moves the code into the &lt;Target&gt;_MC::verifyInstructionPredicates
method, inside the InstrInfo.  The allows it to be called from other
places, such as in this patch where it is called from the
&lt;Target&gt;AsmPrinter::emitInstruction methods which should trigger for
both assembly and object files. It can also be called from other places
such as verifyInstruction, but that is not done here (it tends to catch
errors earlier, but in reality just shows all the mir tests that have
incorrect feature predicates). The interface was also simplified
slightly, moving computeAvailableFeatures into the function so that it
does not need to be called externally.

The ARM, AMDGPU (but not R600), AVR, Mips and X86 backends all currently
show errors in the test-suite, so have been disabled with FIXME
comments.

Differential Revision: https://reviews.llvm.org/D129506
</pre>
</div>
</content>
</entry>
</feed>
