It will be rather easy to test, how BEAM is compiled with LLVM, especially after Apple finishes migration from gcc to CLang. But Tony asked other thing: it is possible to transform erlang bytecode to llvm instructions and let LLVM compile, not HiPE?