https://github.com/shader-slang/slang
Revision 641f7bdc4ea4f75385c30d833cce4619a411ec67 authored by Sai Praveen Bangaru on 03 September 2023, 19:57:15 UTC, committed by GitHub on 03 September 2023, 19:57:15 UTC
* Loop inversion: Handle case where loop can have additional inner breaks

- We now have another critical-edge-breaking block `e4` that is the target of inner breaks.
- Both `e4` and `e1` (the break branch from the loop condition) branch to the loop's ne break block `b2`.
- `b2` is a clone of the old break block `b`, and it simply branches to the old break block.

This fixes an IR validation issue in `tests/autodiff/reverse-while-loop-2.slang`

* Delete region-wave-masks.slang

---------

Co-authored-by: Yong He <yonghe@outlook.com>
1 parent 1d4b5b6
History
Tip revision: 641f7bdc4ea4f75385c30d833cce4619a411ec67 authored by Sai Praveen Bangaru on 03 September 2023, 19:57:15 UTC
Loop inversion: Handle case where loop can have additional inner breaks (#3178)
Tip revision: 641f7bd
File Mode Size
.github
build
deps
docs
examples
external
extras
prelude
source
tests
tools
.editorconfig -rw-r--r-- 984 bytes
.gitattributes -rw-r--r-- 95 bytes
.gitignore -rw-r--r-- 1.5 KB
.gitmodules -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 84 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 6.2 KB
github_build.sh -rw-r--r-- 1.3 KB
github_macos_build.sh -rw-r--r-- 1.2 KB
github_test.sh -rw-r--r-- 1.1 KB
make-slang-tag-version.bat -rw-r--r-- 210 bytes
premake.bat -rw-r--r-- 120 bytes
premake5.lua -rw-r--r-- 62.1 KB
slang-com-helper.h -rw-r--r-- 4.9 KB
slang-com-ptr.h -rw-r--r-- 5.0 KB
slang-gfx.h -rw-r--r-- 86.8 KB
slang-tag-version.h -rw-r--r-- 36 bytes
slang.h -rw-r--r-- 195.6 KB
slang.sln -rw-r--r-- 47.8 KB
test.bat -rw-r--r-- 1.4 KB
test.ps1 -rw-r--r-- 154 bytes

README.md

back to top