Re: Testing, it might be nice to put this into lib/Analysis/CostModel.cpp and then add a test in test/Analysis/CostModel/no_info.ll http://reviews.llvm.org/D9536 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/