The first project that I remember seeing that seriously pursued automatically optimizing for whatever architecture you compiled it on was the ATLAS linear algebra library. It was moderately successful, but it could be beat by Goto's BLAS.
I remember ACOVEA too, but it looks like it is no longer being maintained.
I don't know how it compares to the LLVM work.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds