Thanks Renato. I was dithering about a more complex predicate (including a relocation model check) myself, but decided against it. That looks like a clear improvement though. I've committed it with the change as r195655. Cheers. Tim. http://llvm-reviews.chandlerc.com/D2266