Revert "[NFC] factor out unrolling decision logic"
authorGeoffrey Martin-Noble <gcmn@google.com>
Wed, 18 Aug 2021 18:36:25 +0000 (11:36 -0700)
committerGeoffrey Martin-Noble <gcmn@google.com>
Wed, 18 Aug 2021 18:38:48 +0000 (11:38 -0700)
commitffd8a268bdc518f87e9ba7524aba0458f4b9979c
treea2bc899c298adeb74df92b9f6266c12adb2df855
parent9dbc968ed9fa7b81ba6be27f7f26b79bc813a7bb
Revert "[NFC] factor out unrolling decision logic"

This patch added a requirement for C++17, while LLVM is supposed to
build with C++14
(https://llvm.org/docs/CodingStandards.html#c-standard-versions). Posted
a note to the original review thread (https://reviews.llvm.org/D106001).

This reverts commit 4d559837e887c278d7c27274f4f6b1b78b97c00d.

Differential Revision: https://reviews.llvm.org/D108314
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp