[all-commits] [llvm/llvm-project] 0c91f5: [mlir][vector] Disallow vector broadcast along sca...

Bryth via All-commits all-commits at lists.llvm.org
Thu Aug 6 04:17:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c91f5b25492e552f2f24f4d56750c3948dd6e90
      https://github.com/llvm/llvm-project/commit/0c91f5b25492e552f2f24f4d56750c3948dd6e90
  Author: Bryth <matteo.rizza-murgier at sipearl.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorBroadcast.cpp
    M mlir/test/Dialect/Vector/vector-broadcast-lowering-transforms.mlir

  Log Message:
  -----------
  [mlir][vector] Disallow vector broadcast along scalable dim (#212197)

Broadcasts from vectors to higher rank vectors get lowered recursively
by iterating over leading dimensions to create "size(dimension)" insert
ops. This cannot be done for scalable dimensions whose size is unknown.
This PR prevents such transforms from occurring by stopping if the
leading dimension is scalable.



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