[all-commits] [llvm/llvm-project] 1378e7: [InstSimplify] add no-wrap parameters to simplifyM...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Wed Jan 18 10:30:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1378e7d8b8f3c536a0ad218b1f7a0a6cf963fbcf
      https://github.com/llvm/llvm-project/commit/1378e7d8b8f3c536a0ad218b1f7a0a6cf963fbcf
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/InstructionSimplify.h
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstSimplify/mul.ll

  Log Message:
  -----------
  [InstSimplify] add no-wrap parameters to simplifyMul and add more tests; NFC

This gives mul the same capabilities as add/sub.
A potential improvement with nsw was noted in:
1720ec6da040729f17




More information about the All-commits mailing list