Make these loops follow GetGEPOperands() behavior.