[all-commits] [llvm/llvm-project] f2898d: [InstCombine] Don't mix X << Y / Z << Y with X << ...

XChy via All-commits all-commits at lists.llvm.org
Tue Oct 17 03:48:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2898def693a8ba8a017fcceab4260d7fe2faeb1
      https://github.com/llvm/llvm-project/commit/f2898def693a8ba8a017fcceab4260d7fe2faeb1
  Author: XChy <xxs_chy at outlook.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/div-shift.ll

  Log Message:
  -----------
  [InstCombine] Don't mix X << Y / Z << Y with X << Y / X << Z (#69302)

Fixes #69291.
This patch improve the logic handling different patterns to avoid mixing these
pattern.




More information about the All-commits mailing list