[all-commits] [llvm/llvm-project] a547b4: Revert "[InstCombine] Fold `((X - Y) - Z)` to `X -...

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Apr 6 22:46:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a547b4e26b311e417cd51100e379693f51a3f448
      https://github.com/llvm/llvm-project/commit/a547b4e26b311e417cd51100e379693f51a3f448
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/abs-1.ll
    M llvm/test/Transforms/InstCombine/sub-from-sub.ll

  Log Message:
  -----------
  Revert "[InstCombine] Fold `((X - Y) - Z)` to `X - (Y + Z)` (PR49858)"

This reverts commit 31d219d2997fed1b7dc97e0adf170d5aaf65883e which
causes an infinite loop when compiling the XRay runtime.




More information about the All-commits mailing list