<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/test/Bitcode/flags.ll, 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>[IR] Add `samesign` flag to icmp instruction (#111419)</title>
<updated>2024-10-15T09:11:25+00:00</updated>
<author>
<name>elhewaty</name>
<email>mohamedatef1698@gmail.com</email>
</author>
<published>2024-10-15T09:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9efb07f261b2cd673c0a5abf2ed2546ad288ab48'/>
<id>9efb07f261b2cd673c0a5abf2ed2546ad288ab48</id>
<content type='text'>
Inspired by
﻿https://discourse.llvm.org/t/rfc-signedness-independent-icmps/81423</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inspired by
﻿https://discourse.llvm.org/t/rfc-signedness-independent-icmps/81423</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for `nneg` flag with `uitofp`</title>
<updated>2024-04-09T23:12:33+00:00</updated>
<author>
<name>Noah Goldstein</name>
<email>goldstein.w.n@gmail.com</email>
</author>
<published>2024-03-20T21:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9170e3857521324c096240bf38877e0ffe1a402e'/>
<id>9170e3857521324c096240bf38877e0ffe1a402e</id>
<content type='text'>
As noted when #82404 was pushed (canonicalizing `sitofp` -&gt; `uitofp`),
different signedness on fp casts can have dramatic performance
implications on different backends.

So, it makes to create a reliable means for the backend to pick its
cast signedness if either are correct.

Further, this allows us to start canonicalizing `sitofp`- &gt; `uitofp`
which may easy middle end analysis.

Closes #86141
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As noted when #82404 was pushed (canonicalizing `sitofp` -&gt; `uitofp`),
different signedness on fp casts can have dramatic performance
implications on different backends.

So, it makes to create a reliable means for the backend to pick its
cast signedness if either are correct.

Further, this allows us to start canonicalizing `sitofp`- &gt; `uitofp`
which may easy middle end analysis.

Closes #86141
</pre>
</div>
</content>
</entry>
<entry>
<title>[IR] Add nowrap flags for trunc instruction (#85592)</title>
<updated>2024-03-29T06:08:49+00:00</updated>
<author>
<name>elhewaty</name>
<email>mohamedatef1698@gmail.com</email>
</author>
<published>2024-03-29T06:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7d3924cee30a87a51f9dc04ec843ae6bc3d1c90e'/>
<id>7d3924cee30a87a51f9dc04ec843ae6bc3d1c90e</id>
<content type='text'>
This patch ﻿adds the nuw (no unsigned wrap) and nsw (no signed wrap)
poison-generating flags to the trunc instruction.

Discourse thread:
https://discourse.llvm.org/t/rfc-add-nowrap-flags-to-trunc/77453</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch ﻿adds the nuw (no unsigned wrap) and nsw (no signed wrap)
poison-generating flags to the trunc instruction.

Discourse thread:
https://discourse.llvm.org/t/rfc-add-nowrap-flags-to-trunc/77453</pre>
</div>
</content>
</entry>
<entry>
<title>[IR] Add disjoint flag for Or instructions. (#72583)</title>
<updated>2023-11-24T16:49:19+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2023-11-24T16:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d9962c400f970d17396e84c1a55cdbea29a7c893'/>
<id>d9962c400f970d17396e84c1a55cdbea29a7c893</id>
<content type='text'>
This flag indicates that every bit is known to be zero in at least one
of the inputs. This allows the Or to be treated as an Add since there is
no possibility of a carry from any bit.

If the flag is present and this property does not hold, the result is
poison.

This makes it easier to reverse the InstCombine transform that turns Add
into Or.

This is inspired by a comment here
https://github.com/llvm/llvm-project/pull/71955#discussion_r1391614578

Discourse thread
https://discourse.llvm.org/t/rfc-add-or-disjoint-flag/75036</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This flag indicates that every bit is known to be zero in at least one
of the inputs. This allows the Or to be treated as an Add since there is
no possibility of a carry from any bit.

If the flag is present and this property does not hold, the result is
poison.

This makes it easier to reverse the InstCombine transform that turns Add
into Or.

This is inspired by a comment here
https://github.com/llvm/llvm-project/pull/71955#discussion_r1391614578

Discourse thread
https://discourse.llvm.org/t/rfc-add-or-disjoint-flag/75036</pre>
</div>
</content>
</entry>
<entry>
<title>[IR] Add zext nneg flag (#67982)</title>
<updated>2023-10-30T08:04:04+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2023-10-30T08:04:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ed3f06b9b393cd51e78e5fbc7a46bce090c1817a'/>
<id>ed3f06b9b393cd51e78e5fbc7a46bce090c1817a</id>
<content type='text'>
Add an nneg flag to the zext instruction, which specifies that the
argument is non-negative. Otherwise, the result is a poison value.

The primary use-case for the flag is to preserve information when sext
gets replaced with zext due to range-based canonicalization. The nneg
flag allows us to convert the zext back into an sext later. This is
useful for some optimizations (e.g. a signed icmp can fold with sext but
not zext), as well as some targets (e.g. RISCV prefers sext over zext).

Discourse thread: https://discourse.llvm.org/t/rfc-add-zext-nneg-flag/73914

This patch is based on https://reviews.llvm.org/D156444 by
@Panagiotis156, with some implementation simplifications and additional
tests.

---------

Co-authored-by: Panagiotis K &lt;karouzakispan@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an nneg flag to the zext instruction, which specifies that the
argument is non-negative. Otherwise, the result is a poison value.

The primary use-case for the flag is to preserve information when sext
gets replaced with zext due to range-based canonicalization. The nneg
flag allows us to convert the zext back into an sext later. This is
useful for some optimizations (e.g. a signed icmp can fold with sext but
not zext), as well as some targets (e.g. RISCV prefers sext over zext).

Discourse thread: https://discourse.llvm.org/t/rfc-add-zext-nneg-flag/73914

This patch is based on https://reviews.llvm.org/D156444 by
@Panagiotis156, with some implementation simplifications and additional
tests.

---------

Co-authored-by: Panagiotis K &lt;karouzakispan@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>verify-uselistorder: Force -preserve-bc-use-list-order</title>
<updated>2014-08-19T21:08:27+00:00</updated>
<author>
<name>Duncan P. N. Exon Smith</name>
<email>dexonsmith@apple.com</email>
</author>
<published>2014-08-19T21:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c8eccd1147800b8a2720ded56f42c7342812430e'/>
<id>c8eccd1147800b8a2720ded56f42c7342812430e</id>
<content type='text'>
llvm-svn: 216022
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
llvm-svn: 216022
</pre>
</div>
</content>
</entry>
<entry>
<title>verify-uselistorder: Change the default -num-shuffles=5</title>
<updated>2014-07-31T18:46:24+00:00</updated>
<author>
<name>Duncan P. N. Exon Smith</name>
<email>dexonsmith@apple.com</email>
</author>
<published>2014-07-31T18:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=852e00e3d1827d93878e53b20f038431b52af254'/>
<id>852e00e3d1827d93878e53b20f038431b52af254</id>
<content type='text'>
Change the default for `-num-shuffles` to 5 and better document the
algorithm in the header docs of `verify-uselistorder`.

llvm-svn: 214419
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the default for `-num-shuffles` to 5 and better document the
algorithm in the header docs of `verify-uselistorder`.

llvm-svn: 214419
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename llvm-uselistorder =&gt; verify-uselistorder</title>
<updated>2014-07-30T17:11:27+00:00</updated>
<author>
<name>Duncan P. N. Exon Smith</name>
<email>dexonsmith@apple.com</email>
</author>
<published>2014-07-30T17:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a12e023c8af35d5f9029d7484e180521e50f4a1f'/>
<id>a12e023c8af35d5f9029d7484e180521e50f4a1f</id>
<content type='text'>
llvm-svn: 214318
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
llvm-svn: 214318
</pre>
</div>
</content>
</entry>
<entry>
<title>Bitcode: Correctly compare a Use against itself</title>
<updated>2014-07-29T01:13:56+00:00</updated>
<author>
<name>Duncan P. N. Exon Smith</name>
<email>dexonsmith@apple.com</email>
</author>
<published>2014-07-29T01:13:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3f0fc7bca9f9a065755f513ec90aceb23c3f2047'/>
<id>3f0fc7bca9f9a065755f513ec90aceb23c3f2047</id>
<content type='text'>
Fix the sort of expected order in the reader to correctly return `false`
when comparing a `Use` against itself.

This was caught by test/Bitcode/binaryIntInstructions.3.2.ll, so I'm
adding a `RUN` line using `llvm-uselistorder` for every test in
`test/Bitcode` that passes.

A few tests still fail, so I'll investigate those next.

This is part of PR5680.

llvm-svn: 214157
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the sort of expected order in the reader to correctly return `false`
when comparing a `Use` against itself.

This was caught by test/Bitcode/binaryIntInstructions.3.2.ll, so I'm
adding a `RUN` line using `llvm-uselistorder` for every test in
`test/Bitcode` that passes.

A few tests still fail, so I'll investigate those next.

This is part of PR5680.

llvm-svn: 214157
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the bitcode reader to deserialize nuw/nsw/etc. bits properly in the case</title>
<updated>2010-01-25T21:55:39+00:00</updated>
<author>
<name>Dan Gohman</name>
<email>gohman@apple.com</email>
</author>
<published>2010-01-25T21:55:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=00f4747bad78c33ba0f78d480db866804f592235'/>
<id>00f4747bad78c33ba0f78d480db866804f592235</id>
<content type='text'>
of a forward-reference, which doesn't use an "abbrev" encoding.

llvm-svn: 94454
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of a forward-reference, which doesn't use an "abbrev" encoding.

llvm-svn: 94454
</pre>
</div>
</content>
</entry>
</feed>
