Hi Tom, here are two patches I already send out last year, but are still missing in your master branch on http://cgit.freedesktop.org/~tstellar/llvm/. I just rebased them, so they should apply cleanly ontop of that branch. Christian.