Generates undecaprenyl pyrophosphate (UPP) from isopentenyl pyrophosphate (IPP). UPP is the precursor of glycosyl carrier lipid in the biosynthesis of bacterial cell wall polysaccharide components such as peptidoglycan and lipopolysaccharide (By similarity).