[all-commits] [llvm/llvm-project] 96adf6: [InstCombine] Remove one-use check if other logic ...

AtariDreams via All-commits all-commits at lists.llvm.org
Tue Jan 23 03:11:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96adf69ba93965956d1ee507d9f75a453d99b666
      https://github.com/llvm/llvm-project/commit/96adf69ba93965956d1ee507d9f75a453d99b666
  Author: AtariDreams <83477269+AtariDreams at users.noreply.github.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/shift-logic.ll

  Log Message:
  -----------
  [InstCombine] Remove one-use check if other logic operand is constant (#77973)

By using `match(W, m_ImmConstant())`, we do not need to worry about
one-time use anymore.




More information about the All-commits mailing list