[all-commits] [llvm/llvm-project] dd0245: [InstCombine] Relax one-use requirement for add iN...

AtariDreams via All-commits all-commits at lists.llvm.org
Fri Jun 28 00:08:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd0245e3d74955ace14c95d288abf72346ad52e8
      https://github.com/llvm/llvm-project/commit/dd0245e3d74955ace14c95d288abf72346ad52e8
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/add.ll

  Log Message:
  -----------
  [InstCombine] Relax one-use requirement for add iN (sext i1 X), (sext i1 Y) --> sext (X | Y) to iN (#90509)

Since these remove instructions as long as at least one of X or Y is
one-use, we don't need to check one-use for both.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list