Hi Nadav, I'll separate the patch in three commits: - Actually lower VSELECTs, possibly with no additional functionality - Optimize lowered VSELECTs when possible - PerformSELECTCombine changes Filipe http://reviews.llvm.org/D3752