HomePhabricator

[InstCombine] Temporarily do not drop volatile stores before unreachable

Authored by nikic on Sep 10 2020, 7:16 AM.

Description

[InstCombine] Temporarily do not drop volatile stores before unreachable

See discussion in D87149. Dropping volatile stores here is legal
per LLVM semantics, but causes issues for real code and may result
in a change to LLVM volatile semantics. Temporarily treat volatile
stores as "not guaranteed to transfer execution" in just this place,
until this issue has been resolved.