[all-commits] [llvm/llvm-project] 9577fa: Revert "[InstCombine] generalize subtract with 'no...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Aug 23 07:48:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9577fac0fddfdf8167bf8dc7b2e76b0701e656da
      https://github.com/llvm/llvm-project/commit/9577fac0fddfdf8167bf8dc7b2e76b0701e656da
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/minmax-intrinsics.ll
    M llvm/test/Transforms/InstCombine/reassociate-nuw.ll
    M llvm/test/Transforms/InstCombine/sub.ll

  Log Message:
  -----------
  Revert "[InstCombine] generalize subtract with 'not' operands"

This reverts commit 3aa009cc87e3789ac44bbb98b04846736373e08f.

The reverted commit causes an infinite loop in instcombine. See PR51584.


  Commit: 7872074f226426530bccbeb6d3ab7fbddf18041b
      https://github.com/llvm/llvm-project/commit/7872074f226426530bccbeb6d3ab7fbddf18041b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/sub.ll

  Log Message:
  -----------
  [InstCombine] Add reduced sub/negate test from PR51584.


Compare: https://github.com/llvm/llvm-project/compare/628eaa4cf7a2...7872074f2264


More information about the All-commits mailing list