[all-commits] [llvm/llvm-project] 08091a: Revert "[InstCombine] enhance fold for subtract-fr...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Fri Jul 22 12:57:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08091a99ae4804f319dfe62e0bd76d876febb188
      https://github.com/llvm/llvm-project/commit/08091a99ae4804f319dfe62e0bd76d876febb188
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/sub-xor.ll
    M llvm/test/Transforms/PhaseOrdering/SystemZ/sub-xor.ll

  Log Message:
  -----------
  Revert "[InstCombine] enhance fold for subtract-from-constant -> xor"

This reverts commit 79bb915fb60b2cd220d89e3bb54f67abb8cdb7bd.
This caused regressions because SCEV works better with sub.




More information about the All-commits mailing list