[all-commits] [llvm/llvm-project] e624f8: [DAG] MatchRotate - bail if we fail to match a shl...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Aug 23 19:05:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e624f8a3bb88075493dec521408993ea0ef7bde0
      https://github.com/llvm/llvm-project/commit/e624f8a3bb88075493dec521408993ea0ef7bde0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/X86/pr57283.ll

  Log Message:
  -----------
  [DAG] MatchRotate - bail if we fail to match a shl/srl pair

extractShiftForRotate may fail to return canonicalized shifts due to constant folding or other simplification that can occur in getNode()

Fixes Issue #57283




More information about the All-commits mailing list