[all-commits] [llvm/llvm-project] a2231a: [VPlan] Share PreservesUniformity logic between is...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sat Nov 22 14:11:29 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a2231af5ddafbc82c9d6ecc994690639958c6661
https://github.com/llvm/llvm-project/commit/a2231af5ddafbc82c9d6ecc994690639958c6661
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-11-22 (Sat, 22 Nov 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
Log Message:
-----------
[VPlan] Share PreservesUniformity logic between isSingleScalar and isUniformAcrossVFsAndUFs
Extract the PreservesUniformity logic from isSingleScalar into a shared
static helper function. Update isUniformAcrossVFsAndUFs to use this
logic for VPWidenRecipe and VPInstruction, so that any opcode that
preserves uniformity is considered uniform-across-vf-and-uf if its
operands are.
This unifies the uniformity checking logic and makes it easier to extend
in the future.
This should effectively by NFC currently.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list