[all-commits] [llvm/llvm-project] ecea47: [VPlan] Helper to check if a recipe uses scalar va...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Mar 11 05:41:33 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ecea477df3c929d14aacca0581bc26ff3c83498c
https://github.com/llvm/llvm-project/commit/ecea477df3c929d14aacca0581bc26ff3c83498c
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-03-11 (Fri, 11 Mar 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Helper to check if a recipe uses scalar values of op.
This patch adds a helper to check if a recipe only uses scalars of a
given operand. This is similar to onlyFirstLaneUsed, which was
introduced earlier.
By default, usesScalars falls back on onlyFirstLaneUsed.
Will be used by D120828.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D120827
More information about the All-commits
mailing list