[all-commits] [llvm/llvm-project] ab6667: [ConstantRange] Optimize smul nowrap with constant...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Sep 15 04:50:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab6667f844e2a5e072bf9710b09fdb7b5ebd8cc5
      https://github.com/llvm/llvm-project/commit/ab6667f844e2a5e072bf9710b09fdb7b5ebd8cc5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M llvm/lib/IR/ConstantRange.cpp

  Log Message:
  -----------
  [ConstantRange] Optimize smul nowrap with constant (NFC)

Don't call makeExactMulNSWRegion() twice with the same value.




More information about the All-commits mailing list