AnyDSL / thorin

The Higher-Order Intermediate Representation
https://anydsl.github.io
GNU Lesser General Public License v3.0
151 stars 15 forks source link

Simple cfg #77

Closed leissa closed 7 years ago

leissa commented 7 years ago

fixes a couple of issues:

madmann91 commented 7 years ago

Does not work for the master branch of rodent, though, where PE still fails to unroll the ray-box loop. To trigger that, checkout master in rodent and compile in Debug to get the PE messages. You should get this:

[  5%] Generating bench_traversal.ll
I:/space/perard/sources/rodent/src/traversal/mapping_cpu.impala:129 col 25 - 43: pe_info: child: qs32 0
I:/space/perard/sources/rodent/src/traversal/mapping_cpu.impala:129 col 25 - 43: pe_info: child: k_28350

The expected result is 4 messages with pe_info: child: <n> where <n> is in 0..3