[llvm] [LV] Support binary and unary operations with EVL-vectorization (PR #93854)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 14 12:42:26 PDT 2024
================
@@ -1051,6 +1055,55 @@ void VPWidenRecipe::execute(VPTransformState &State) {
#endif
}
+void VPWidenEVLRecipe::execute(VPTransformState &State) {
+ assert(State.UF == 1 && "Expected only UF == 1 when vectorizing with "
+ "explicit vector length.");
+ VPValue *Op0 = getOperand(0);
+
+ // If it's scalar operation, hand translation over to VPWidenRecipe
----------------
fhahn wrote:
Comment out of sync?
https://github.com/llvm/llvm-project/pull/93854
More information about the llvm-commits
mailing list