1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Transforms/InstMerge
David Majnemer fb8ef4867c [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
2016-05-26 07:11:09 +00:00
..
exceptions.ll
ld_hoist1.ll
ld_hoist_st_sink.ll
st_sink_barrier_call.ll
st_sink_bugfix_22613.ll
st_sink_no_barrier_call.ll
st_sink_no_barrier_load.ll
st_sink_no_barrier_store.ll
st_sink_two_stores.ll
st_sink_with_barrier.ll