[all-commits] [llvm/llvm-project] fc444d: [VPlan] Add field to track if intrinsic should be ...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Thu Sep 1 05:15:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc444ddc77209dd3c0eb2df924c9004ce1533092
https://github.com/llvm/llvm-project/commit/fc444ddc77209dd3c0eb2df924c9004ce1533092
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-09-01 (Thu, 01 Sep 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
M llvm/test/Transforms/LoopVectorize/AArch64/widen-call-with-intrinsic-or-libfunc.ll
M llvm/test/Transforms/LoopVectorize/vplan-dot-printing.ll
M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
Log Message:
-----------
[VPlan] Add field to track if intrinsic should be used for call. (NFC)
This patch moves the cost-based decision whether to use an intrinsic or
library call to the point where the recipe is created. This untangles
code-gen from the cost model and also avoids doing some extra work as
the information is already computed at construction.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D132585
More information about the All-commits
mailing list