[all-commits] [llvm/llvm-project] 3deee2: [mlir] IntegerRangeAnalysis: don't loop over splat...

Ian Wood via All-commits all-commits at lists.llvm.org
Thu Nov 7 12:14:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3deee235986802694175259e078dfad0edcb40ed
      https://github.com/llvm/llvm-project/commit/3deee235986802694175259e078dfad0edcb40ed
  Author: Ian Wood <75152913+IanWood1 at users.noreply.github.com>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M mlir/lib/Dialect/Arith/IR/InferIntRangeInterfaceImpls.cpp

  Log Message:
  -----------
  [mlir] IntegerRangeAnalysis: don't loop over splat attr  (#115229)

If the `DenseIntElementsAttr` is a splat value, there is no need to loop
over the entire attr. Instead, just update with the splat value.



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