Little Brainfuck interpreter in D/Rust for a benchmark

That is very interesting. Could you post the generated disassembly for both these cases? (Using https://gist.github.com or something similar)

here
Strange. The assembly code looks like there is just a different order of the branches.

I have filed a bug on llvm.org.

I guess it's this one:
https://llvm.org/bugs/show_bug.cgi?id=25952