[PATCH] D159198: [DAG] Fold (shl (sext (add_nsw x, c1)), c2) -> (add (shl (sext x), c2), c1 << c2)

Dmitri Gribenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 6 02:28:43 PDT 2023


gribozavr2 added a comment.

Sorry, this change breaks `llvm-project/llvm/test/Transforms/InferAddressSpaces/AMDGPU/flat_atomic.ll`:

https://lab.llvm.org/buildbot/#/builders/249/builds/9078

I will revert this patch to unbreak the tests at HEAD.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159198/new/

https://reviews.llvm.org/D159198



More information about the llvm-commits mailing list