[all-commits] [llvm/llvm-project] 1bd408: [LoopUnroll] Push runtime unrolling decision up in...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sat Jun 19 00:32:54 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1bd4085e0bbc14ec61ab69c83464098622b2df56
https://github.com/llvm/llvm-project/commit/1bd4085e0bbc14ec61ab69c83464098622b2df56
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-06-19 (Sat, 19 Jun 2021)
Changed paths:
M llvm/include/llvm/Transforms/Utils/UnrollLoop.h
M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
M llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
Log Message:
-----------
[LoopUnroll] Push runtime unrolling decision up into tryToUnrollLoop()
Currently, UnrollLoop() is passed an AllowRuntime flag and decides
itself whether runtime unrolling should be used or not. This patch
pushes the decision into the caller and allows us to eliminate the
ULO.TripCount and ULO.TripMultiple parameters.
Differential Revision: https://reviews.llvm.org/D104487
More information about the All-commits
mailing list