I'd be very shocked if this isn't a requirement, and even if it isn't I expect that every vendor of autonomous cars would install it anyway because they'd want to make sure their product doesn't get blamed for something that was someone else's fault.
My point above about prioritizing people who are "where they're supposed to be" wasn't intended to say "people don't belong on the roads". If in a given locale it is legal to walk in the road then the car will need to take that into account as that person is "where they're supposed to be". It all depends on the laws/customs where the car is - just like traffic laws, speed limits, etc. are different in different places. The reason I brought it up was to suggest it doesn't have to be complicated - you don't need the car to make moral decisions about killing three people in the car versus one person walking alongside the road. If they are where they're supposed to be, the car isn't allowed to go there and run over him to save the three people in the car. Simple.