[llvm] [VPlan] Consistently use (Part, 0) for first lane scalar values (PR #80271)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 05:09:10 PST 2024
================
@@ -1389,6 +1389,13 @@ class VPScalarCastRecipe : public VPSingleDefRecipe {
/// Returns the result type of the cast.
Type *getResultType() const { return ResultTy; }
+
+ bool onlyFirstLaneUsed(const VPValue *Op) const override {
+ // At the moment, only scalar codegen is implemented.
----------------
fhahn wrote:
Updated!
Can split off if preferred, the code just won't be exercised by any tests until this patch.
https://github.com/llvm/llvm-project/pull/80271
More information about the llvm-commits
mailing list