The lastest version is for 7.8. And the hash at the last field of the branch name is the hash for git. You can checkout the version using this hash, like git checkout 725bcedcb69 <https://github.com/linzj/llvm-toy/tree/arm-tf-7_8_279_17_725bcedcb69>. You should checkout the LLVM version 8, the final release version, then patch it with the llvm-patch-by-far.patch, and build it to libLLVM-8.so.The build script can be referred to config32.sh <https://github.com/linzj/myscripts/blob/master/buildscript/llvm/config32.sh> . Then patch v8 with v8.patch. Then rsync src/ to v8/src/. Then copy libLLVM-8.so to v8/lib/ Then you can build it with chrome. Oh, don't forget to add "UC_BUILD_TF_LLVM_BACKEND" to defines.
在 2019年11月21日星期四 UTC+8下午3:46:19,Yang Guo写道: > > Interesting. Thanks for sharing! > > I noticed that the source code you linked to have .gyp files. Which V8 > version does it target? Do you have steps to build it and reproduce your > benchmark results? > > Cheers, > > Yang > > On Thu, Nov 21, 2019 at 7:35 AM <[email protected] <javascript:>> wrote: > >> [image: llvm.png] >> >> [image: nollvm.png] >> >> [image: 2019-11-21 14-27-06 的屏幕截图.png] >> >> Octane benchmark improvement, with no-opt manually. >> >> >> 在 2019年11月21日星期四 UTC+8上午8:02:34,[email protected]写道: >>> >>> Hi, >>> I am working on a new code generator that based on LLVM, and >>> generate code for both V8 built-ins and WebAssembly. >>> I try to compile the libffmpeg for video decoder, and find out 50% >>> and more time reduction. Mainly because LLVM supports auto vectorize. >>> This project only support arm32 android for now. >>> Anyone feel interested may checkout the source from >>> https://github.com/linzj/llvm-toy. And switch to the branch named >>> arm-tf-7_8_279_17_725bcedcb69 >>> <https://github.com/linzj/llvm-toy/tree/arm-tf-7_8_279_17_725bcedcb69>. >>> The hash at the end is the git commit hash. >>> >> -- >> -- >> v8-dev mailing list >> [email protected] <javascript:> >> http://groups.google.com/group/v8-dev >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-dev/13052418-21de-4311-8244-008ee0a1db2f%40googlegroups.com >> >> <https://groups.google.com/d/msgid/v8-dev/13052418-21de-4311-8244-008ee0a1db2f%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/30b13408-07e4-4c30-a5b6-65741edf8aca%40googlegroups.com.
