[all-commits] [llvm/llvm-project] f95a6a: [InstCombine] avoid splitting a constant expressio...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Sat Jul 30 07:17:02 PDT 2022

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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/udivrem-change-width.ll

  Log Message:
  [InstCombine] avoid splitting a constant expression with div/rem fold

Follow-up to d4940c0f3d43 to further limit the transform
to avoid an unintended pattern/fold of a constant expression.

More information about the All-commits mailing list