Preserve loop metadata when folding branches to a common destination.
authorMichael Kuperstein <mkuper@google.com>
Fri, 16 Dec 2016 21:23:59 +0000 (21:23 +0000)
committerMichael Kuperstein <mkuper@google.com>
Fri, 16 Dec 2016 21:23:59 +0000 (21:23 +0000)
commit3ca147ea3d8c2364542c2e4c2b7ba83fdf5e6dcd
treef56a38a5418f67dc6c144643b9fe52b62cdd780c
parent35f6d66b0d4da029fbd2d6f97cd9121d59d20322
Preserve loop metadata when folding branches to a common destination.

Differential Revision: https://reviews.llvm.org/D27830

llvm-svn: 289992
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/LoopSimplify/preserve-llvm-loop-metadata.ll