[all-commits] [llvm/llvm-project] 97bf10: Revert "[DAG] Fold (shl (sext (add_nsw x, c1)), c2...

Dmitri Gribenko via All-commits all-commits at lists.llvm.org
Wed Sep 6 02:32:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97bf104d97d6e025cbcee73869c8a83038567b83
      https://github.com/llvm/llvm-project/commit/97bf104d97d6e025cbcee73869c8a83038567b83
  Author: Dmitri Gribenko <gribozavr at gmail.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/arm64-shifted-sext.ll
    M llvm/test/CodeGen/AArch64/arm64-trunc-store.ll
    M llvm/test/CodeGen/X86/addr-mode-matcher-2.ll

  Log Message:
  -----------
  Revert "[DAG] Fold (shl (sext (add_nsw x, c1)), c2) -> (add (shl (sext x), c2), c1 << c2)"

This reverts commit b027ce0ab93060bc6cb79d5402d21520e8b93fb7.

This commit breaks Transforms/InferAddressSpaces/AMDGPU/flat_atomic.ll.




More information about the All-commits mailing list