Sink Store Operations in Branch Paths?

Is there a pass/opt that will sink (via a phi and new store in post dominator for example) store operations in different paths to the post dominator (providng each path does not include a loop)?