Actually I just noticed this patch is out of date. The test is using illegal bitcasts between address spaces. There needs to be an objectsize for each address space. http://llvm-reviews.chandlerc.com/D1685