<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/autodiff/reverse-while-loop-3.slang, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2024-08-21T00:56:04+00:00</updated>
<entry>
<title>Fix `tests\autodiff\reverse-while-loop-3.slang` test (#4886)</title>
<updated>2024-08-21T00:56:04+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2024-08-21T00:56:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=03e1e17745920c8e3a7b6f4e3b1e64062589604a'/>
<id>urn:sha1:03e1e17745920c8e3a7b6f4e3b1e64062589604a</id>
<content type='text'>
* Fix `tests\autodiff\reverse-while-loop-3.slang` test

Fixes: #4876

Fix `tests\autodiff\reverse-while-loop-3.slang` test to have correct listed output values

* set default to 1 (different val)

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Fix loop inversion issue that caused ordinary blocks with multiple predecessors (#3211)</title>
<updated>2023-09-19T03:45:44+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2023-09-19T03:45:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=95fcf65c38d52ed458a3b11622ea8b55a3864c24'/>
<id>urn:sha1:95fcf65c38d52ed458a3b11622ea8b55a3864c24</id>
<content type='text'>
* Add test case for while loop

* Fix loop inversion issue that caused ordinary blocks with multiple predecessors

The original version can leave the CFG in an invalid state with `e4` not being a break block or merge point, but having multiple predecessors.

The updated version creates a separate jump block for each break instruction to avoid this issue.

* Fixup tests</content>
</entry>
</feed>
