[llvm] r351520 - Re-enable terminator folding in LoopSimplifyCFG: underlying bugs fixed

Jordan Rupprecht via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 22 09:43:27 PST 2019


It looks like this is still causing crashes, so I've temporarily reverted
this as https://reviews.llvm.org/rL351845. I hope to have a repro later
today.

On Thu, Jan 17, 2019 at 9:01 PM Max Kazantsev via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: mkazantsev
> Date: Thu Jan 17 20:57:32 2019
> New Revision: 351520
>
> URL: http://llvm.org/viewvc/llvm-project?rev=351520&view=rev
> Log:
> Re-enable terminator folding in LoopSimplifyCFG: underlying bugs fixed
>
> Modified:
>     llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
>
> Modified: llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp?rev=351520&r1=351519&r2=351520&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp (original)
> +++ llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp Thu Jan 17
> 20:57:32 2019
> @@ -42,7 +42,7 @@ using namespace llvm;
>  #define DEBUG_TYPE "loop-simplifycfg"
>
>  static cl::opt<bool>
> EnableTermFolding("enable-loop-simplifycfg-term-folding",
> -                                       cl::init(false));
> +                                       cl::init(true));
>
>  STATISTIC(NumTerminatorsFolded,
>            "Number of terminators folded to unconditional branches");
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190122/1fc49516/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4849 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190122/1fc49516/attachment.bin>


More information about the llvm-commits mailing list