Hi Hao, I share Ahmed’s concerned and believe the scalarization should be done as part of the SDAG legalization. Cheers, -Quentin http://reviews.llvm.org/D9195 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/