diff options
author | Owen Anderson <resistor@mac.com> | 2015-10-09 18:40:20 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2015-10-09 18:40:20 +0000 |
commit | 2c9978b12b08c08da94347cc2b120b8affaa53dc (patch) | |
tree | 8a8f6f1fa66a67119ed8ba14d4b419c1bac8b9da /llvm/lib/CodeGen/DFAPacketizer.cpp | |
parent | dbd02a40d2fc8955d4c2c3069f8f1be4a5016772 (diff) | |
download | bcm5719-llvm-2c9978b12b08c08da94347cc2b120b8affaa53dc.tar.gz bcm5719-llvm-2c9978b12b08c08da94347cc2b120b8affaa53dc.zip |
Teach LoopUnswitch not to perform non-trivial unswitching on loops containing convergent operations.
Doing so could cause the post-unswitching convergent ops to be
control-dependent on the unswitch condition where they were not before.
This check could be refined to allow unswitching where the convergent
operation was already control-dependent on the unswitch condition.
llvm-svn: 249874
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions