aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/ArrayRefTest.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-01-17 15:11:37 +0000
committerFlorian Hahn <flo@fhahn.com>2023-01-17 15:11:38 +0000
commitd47bdae28e8ea7a64de2ac27159733bba8117cda (patch)
tree10f253801c68711167b44c916f907218d35dcfff /llvm/unittests/ADT/ArrayRefTest.cpp
parent4adf89fc65f6ffda8add795d002334b6bbea55f5 (diff)
downloadllvm-d47bdae28e8ea7a64de2ac27159733bba8117cda.zip
llvm-d47bdae28e8ea7a64de2ac27159733bba8117cda.tar.gz
llvm-d47bdae28e8ea7a64de2ac27159733bba8117cda.tar.bz2
[VPlan] Remove duplicated VPValue IDs (NFCI).
At the moment, both VPValue and VPDef have an ID used when casting via classof. This duplication is cumbersome, because it requires adding IDs for new recipes twice and also requires setting them twice. In a few cases, there's only a VPDef ID and no VPValue ID, which can cause same confusion. To simplify things, remove the VPValue IDs for different recipes. Instead, only retain the generic VPValue ID (= used VPValues without a corresponding defining recipe) and VPVRecipe for VPValues that are defined by recipes that inherit from VPValue. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D140848
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions