[all-commits] [llvm/llvm-project] 30ea6a: [SCEV] Don't create udiv constant expression (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jun 29 05:35:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30ea6a06364c4aad1175f2d1440a1ee2ffd8d3e0
      https://github.com/llvm/llvm-project/commit/30ea6a06364c4aad1175f2d1440a1ee2ffd8d3e0
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-06-29 (Wed, 29 Jun 2022)

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

  Log Message:
  -----------
  [SCEV] Don't create udiv constant expression (NFC)

Work on APInts to make it clear that this will not create a
constant expression.

This code path is not reached if the RHS is zero.




More information about the All-commits mailing list