https://github.com/halide/Halide
Revision 412a0a4e3876021e541e40b6c9139a3b6bfd2c04 authored by Steven Johnson on 08 December 2021, 01:58:10 UTC, committed by Steven Johnson on 08 December 2021, 01:58:10 UTC
Cherry-picking some minor changes from an otherwise-failed experimental branch:
- Condense code in generate_closure_ir() via use of a lambda
- Emit the calls to load_typed_struct_member in such a way that they are in ascending order (they currently get emitted in descending order, which is not wrong but is unsatisfying and suboptimal)
- Call simplify() on the final Stmt, so that unused calls to load_typed_struct_member get omitted from the IR (presumably LLVM will strip these out later but it can't fail to do so if we don't emit them at all)
1 parent 2923246
History
Tip revision: 412a0a4e3876021e541e40b6c9139a3b6bfd2c04 authored by Steven Johnson on 08 December 2021, 01:58:10 UTC
Minor tweaks to generate_closure_ir()
Tip revision: 412a0a4
File Mode Size
.github
apps
cmake
dependencies
doc
packaging
python_bindings
src
test
tools
tutorial
util
.clang-format -rw-r--r-- 1.4 KB
.clang-format-ignore -rw-r--r-- 265 bytes
.clang-tidy -rw-r--r-- 1.8 KB
.gitattributes -rw-r--r-- 342 bytes
.gitignore -rw-r--r-- 1.1 KB
.gitmodules -rw-r--r-- 0 bytes
CMakeLists.txt -rw-r--r-- 5.5 KB
CMakePresets.json -rw-r--r-- 5.2 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.5 KB
LICENSE.txt -rw-r--r-- 3.2 KB
Makefile -rw-r--r-- 101.1 KB
README.md -rw-r--r-- 16.4 KB
README_cmake.md -rw-r--r-- 69.2 KB
README_rungen.md -rw-r--r-- 12.1 KB
README_webassembly.md -rw-r--r-- 8.4 KB
run-clang-format.sh -rwxr-xr-x 1.4 KB
run-clang-tidy.sh -rwxr-xr-x 3.2 KB

README.md

back to top