[all-commits] [llvm/llvm-project] fec54a: [SandboxIR][SandboxVec] Remove score tracking from...
vporpo via All-commits
all-commits at lists.llvm.org
Mon May 4 10:05:05 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fec54af42099a3ef2c736a4e158e3346f9843c59
https://github.com/llvm/llvm-project/commit/fec54af42099a3ef2c736a4e158e3346f9843c59
Author: vporpo <vasileios.porpodas at amd.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M llvm/include/llvm/SandboxIR/Region.h
A llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/RegionWithScore.h
M llvm/lib/SandboxIR/Region.cpp
M llvm/lib/Transforms/Vectorize/CMakeLists.txt
M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/RegionsFromBBs.cpp
M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/RegionsFromMetadata.cpp
M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/SeedCollection.cpp
M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/TransactionAcceptOrRevert.cpp
A llvm/lib/Transforms/Vectorize/SandboxVectorizer/RegionWithScore.cpp
M llvm/unittests/SandboxIR/PassTest.cpp
M llvm/unittests/SandboxIR/RegionTest.cpp
M llvm/unittests/Transforms/Vectorize/SandboxVectorizer/CMakeLists.txt
A llvm/unittests/Transforms/Vectorize/SandboxVectorizer/RegionWithScoreTest.cpp
Log Message:
-----------
[SandboxIR][SandboxVec] Remove score tracking from Region, add RegionWithScore (#190293)
Up until now the `Region` class contained a `ScoreBoard` and was
tracking instruction costs by default. However, design-wise the Region
is a generic IR-level structure and should be independent from score
tracking.
So this patch removes the score tracking capability from the base
`Region` class and creates a separate `RegionWithScore` derived class
for that. The new class is placed in the vectorizer directory because
the score tracking is meant for the vectorizer.
Should be NFC.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list