Hoping that Richard (or any other interested person) can give me some pointers on (a) whether this direction is OK, and (b) a better way to write a test for it. http://llvm-reviews.chandlerc.com/D1192