A general comment: null check code is pretty common, so this patch will be very useful in those scenarios to get better inline cost estimate. http://reviews.llvm.org/D9129 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/