[all-commits] [llvm/llvm-project] fc9d54: [InstCombine] add tests for smul/umul with overflo...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Mon Jan 9 07:29:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc9d54a4a131cbbd51c135b38b590c36357c8aa2
      https://github.com/llvm/llvm-project/commit/fc9d54a4a131cbbd51c135b38b590c36357c8aa2
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/smulo.ll
    M llvm/test/Transforms/InstCombine/umulo.ll

  Log Message:
  -----------
  [InstCombine] add tests for smul/umul with overflow with i1 types; NFC

More coverage for D141214 / issue #59876


  Commit: 2dcbd740eee0283e76d08a8b646a7b5a8fbf969c
      https://github.com/llvm/llvm-project/commit/2dcbd740eee0283e76d08a8b646a7b5a8fbf969c
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/smulo.ll

  Log Message:
  -----------
  [InstCombine] reduce smul.ov with i1 types to 'and'

https://alive2.llvm.org/ce/z/5tLkW6

There's still a miscompile bug as shown in issue #59876 / D141214 .


Compare: https://github.com/llvm/llvm-project/compare/70520e2f1c5f...2dcbd740eee0


More information about the All-commits mailing list