Open furuame opened 6 years ago
LLVM-Simpoints works with LLVM-3.x, LLVM-4.x. I tested LLVM-Simpoints on a fresh install of LLVM-3.x for Ubuntu 16 and it works correctly.
Unfortunately, LLVM internals tend to change between major revisions, which is why it will not compile for you. For now I will add this version limitation to the documentation.
Unfortunately I do not have any machines running LLVM-6.x or 7.x because I would need to install them from source, so I do not have a way to test LLVM-Simpoints on these newer versions. If you absolutely must use LLVM-6+ then I will see if I can get a newer version installed so I can create a patch (this could take me a little while). Otherwise I would recommend using a different LLVM version.
Hi, @scott-walker-llnl, thanks for your reply.
May I ask a question not related to this issue? After SimPoint done the clustering, how does it pick the representative of each cluster? After reading the ASPLOS paper and its website, I didn't find any explanation. Do you have any idea?
I have not looked into the clustering algorithm code that SimPoints uses, but since it is based on k-means it is probably looking for a local optimum within each cell to represent the entire cluster. Here are some related articles that should explain it:
https://en.wikipedia.org/wiki/Local_optimum https://en.wikipedia.org/wiki/Voronoi_diagram https://en.wikipedia.org/wiki/K-means_clustering
Hi, I'm going through a issue when building countBB. I use the LLVM 6.0.0
Could you give me some hints? :) Thx!