[all-commits] [llvm/llvm-project] 9f5c8d: [DAG] visitAVG - rewrite "fold (avgfloor x, 0) -> ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun May 19 03:36:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f5c8de3864b0be27a8b36cd891c5a28a3acfd27
      https://github.com/llvm/llvm-project/commit/9f5c8de3864b0be27a8b36cd891c5a28a3acfd27
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-05-19 (Sun, 19 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] visitAVG - rewrite "fold (avgfloor x, 0) -> x >> 1" to use SDPatternMatch

No need for this to be vector specific, and its more likely that scalar cases will appear after #92096



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