[all-commits] [llvm/llvm-project] eda8e9: [InstCombine] Combine (zext a) mul (zext b) to llv...

luxufan via All-commits all-commits at lists.llvm.org
Sat Jan 7 22:42:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eda8e999dd01e9a741a43330b693cff94d4cb955
      https://github.com/llvm/llvm-project/commit/eda8e999dd01e9a741a43330b693cff94d4cb955
  Author: luxufan <luxufan at iscas.ac.cn>
  Date:   2023-01-08 (Sun, 08 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/overflow-mul.ll

  Log Message:
  -----------
  [InstCombine] Combine (zext a) mul (zext b) to llvm.umul.with.overflow only if mul has NUW flag

Fixes: https://github.com/llvm/llvm-project/issues/59836

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D141031




More information about the All-commits mailing list