[all-commits] [llvm/llvm-project] 490a09: [UnrollAnalyzerTest] Remove dependency to pass man...
Björn Pettersson via All-commits
all-commits at lists.llvm.org
Mon Jan 22 05:43:14 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 490a09a02e81c0034aa08a800fa7a57ec6ef0767
https://github.com/llvm/llvm-project/commit/490a09a02e81c0034aa08a800fa7a57ec6ef0767
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M llvm/unittests/Analysis/UnrollAnalyzerTest.cpp
Log Message:
-----------
[UnrollAnalyzerTest] Remove dependency to pass managers (#78473)
Remove use of LegacyPassManager in the UnrollAnalyzerTest unit test.
Given that the goal isn't to test pass manager interfaces, and since the
LoopUnrollAnalyzer isn't even implemented as a pass, we do not really
need the complexity of using a pass manager. Instead we just make sure
that we run LoopUnrollAnalyzer and other needed analyses standalone
(without any pass manager). This was inspired by the LoopInfoTest unit
test.
More information about the All-commits
mailing list