[VPlan] Add support for tracking UFs applicable to VPlan (NFC).
authorFlorian Hahn <flo@fhahn.com>
Thu, 22 Dec 2022 18:58:22 +0000 (18:58 +0000)
committerFlorian Hahn <flo@fhahn.com>
Thu, 22 Dec 2022 18:58:25 +0000 (18:58 +0000)
commit5df34e971dd581d32955474b5b4b29d92fb87b30
tree14bff5cddbe00b94ce8b0cd8a3e4ef003c9d15d6
parentac16ea89dbcfc362c6bef841ab543df08bf9e6ec
[VPlan] Add support for tracking UFs applicable to VPlan (NFC).

Explicitly track the UFs supported in a VPlan. This is needed to
allow transformations to restrict the UFs which are supported.

Discussed as separate improvement in D135017.
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp