[all-commits] [llvm/llvm-project] dcd094: [InstSimplify] remove redundant calls to 'isImplie...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Tue Jul 26 11:47:59 PDT 2022


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

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp

  Log Message:
  -----------
  [InstSimplify] remove redundant calls to 'isImplied'; NFCI

We already call the more general isImpliedCondition() (which calls
isImpliedTrueByMatchingCmp() internally) from simplifyAndInst()
and simplifyOrInst().

There was a difference visible with this change on a vector test
before a925bef70c6c, but I can't find any gaps now.




More information about the All-commits mailing list