| commit | 474512576ef75d3e400f8ac3d6109524e9cc053b | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Thu May 26 07:11:09 2016 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Thu May 26 07:11:09 2016 +0000 |
| tree | ed9fa7a51a8bcbf95a9627c51e265f0aa5f8a62e | |
| parent | 4f7bbf617be016c5e1381a3289b7b5d361055d43 [diff] |
[MergedLoadStoreMotion] Don't transform across may-throw calls It is unsafe to hoist a load before a function call which may throw, the throw might prevent a pointer dereference. Likewise, it is unsafe to sink a store after a call which may throw. The caller might be able to observe the difference. This fixes PR27858. llvm-svn: 270828