[all-commits] [llvm/llvm-project] 34d2d7: [InstSimplify] Drop redundant div fold (NFCI)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Apr 24 05:14:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34d2d7f565501acc5662dcb303d60e13695472ce
      https://github.com/llvm/llvm-project/commit/34d2d7f565501acc5662dcb303d60e13695472ce
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-04-24 (Mon, 24 Apr 2023)

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

  Log Message:
  -----------
  [InstSimplify] Drop redundant div fold (NFCI)

This is nowadays handled generically via isDivZero() and icmp
simplification, specifically the computeConstantRange() based
logic.




More information about the All-commits mailing list