[all-commits] [llvm/llvm-project] 14b0ae: [InstCombine] Remove redundant fold in foldUnsigne...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Oct 24 07:57:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14b0ae439ff8c92bce47f0b5dbe6d5a9f02de338
      https://github.com/llvm/llvm-project/commit/14b0ae439ff8c92bce47f0b5dbe6d5a9f02de338
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [InstCombine] Remove redundant fold in foldUnsignedUnderflowCheck() (NFCI)

Base - Offset == 0 will get canonicalized to Base == Offset even
in multi-use contexts, at which point all of these patterns already
get handled by generic code.




More information about the All-commits mailing list