Doesn't .NET compile regular expressions using System.Reflection.Emit,
which is basically Microsoft's closest approximation of LLVM?
In any case, you might not need all of LLVM—that kind of simplified control
flow can occasionally be handled quite nicely by specialized code generators.