[SimpleLoopUnswitch][NFC] Add option to always drop make.implicit metadata in non...
authorMax Kazantsev <mkazantsev@azul.com>
Tue, 4 Aug 2020 03:16:40 +0000 (10:16 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Tue, 4 Aug 2020 03:16:40 +0000 (10:16 +0700)
commit7647c2716e383c091b7063e150d48d5821bcaa67
tree5e000f8c4dc4f4161920b84f17a2089e2472e670
parentd6a5cce0e7d65562f081569a61595e53cdb8d5d0
[SimpleLoopUnswitch][NFC] Add option to always drop make.implicit metadata in non-trivial unswitching and save compile time

We might want this if we find out that using of MustExecute analysis is too expensive.
By default we do the analysis because its complexity does not exceed the complexity
of whole loop copying in unswitching. Follow-up for D84925.

Differential Revision: https://reviews.llvm.org/D85001
Reviewed By: asbirlea
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp