[all-commits] [llvm/llvm-project] 44d70d: [LoopUnroll] Eliminate PreserveOnlyFirst parameter...
Philip Reames via All-commits
all-commits at lists.llvm.org
Thu Jun 3 10:33:32 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 44d70d298acc872f37819efcb101334674a289e9
https://github.com/llvm/llvm-project/commit/44d70d298acc872f37819efcb101334674a289e9
Author: Philip Reames <listmail at philipreames.com>
Date: 2021-06-03 (Thu, 03 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/LoopUnrollRuntime.cpp
Log Message:
-----------
[LoopUnroll] Eliminate PreserveOnlyFirst parameter [nfc]
This is a first step towards simplifying the transform interface to be less error prone. The basic idea is that querying SCEV is cheap (since it's cached) and we can just check for properties related to branch folding in the transform method instead of relying on the heuristic part to pass everything in correctly.
Differential Revision: https://reviews.llvm.org/D103584
More information about the All-commits
mailing list