================ @@ -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. ---------------- ayalz wrote:
```suggestion // At the moment, only uniform codegen is implemented. ``` ? scalar codegen in general may use other lanes. Can this improvement of onlyFirstLaneUsed() be pushed independently? https://github.com/llvm/llvm-project/pull/80271 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits