https://bugs.freedesktop.org/show_bug.cgi?id=99923
--- Comment #28 from sephiroth99@gmail.com --- Thanks Martin for finding the issue!
The vectorizer can be disabled from Mesa side, so it's not needed to recompile LLVM...
See the attached patch.
I tested it with Debian LLVM 7 and Mesa git and works as expected.