Side questions: shouldn’t insertelement constant folding produce undefs in case of wrong index (as reference states)? http://reviews.llvm.org/D9225 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/