[all-commits] [llvm/llvm-project] cfde8a: [InstCombine] add tests for div with select-of-con...

RotateRight via All-commits all-commits at lists.llvm.org
Tue Dec 7 12:32:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfde8a6c9da284ccd048fcbf38d4c2470d614d2c
      https://github.com/llvm/llvm-project/commit/cfde8a6c9da284ccd048fcbf38d4c2470d614d2c
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/div.ll

  Log Message:
  -----------
  [InstCombine] add tests for div with select-of-constants divisor; NFC

Similar patterns as tests for:
D115173
(and we might want to make a single patch for all of these).


  Commit: 51d3cb0ab15de7acb7131b5f967cf7fc84def99e
      https://github.com/llvm/llvm-project/commit/51d3cb0ab15de7acb7131b5f967cf7fc84def99e
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/div.ll
    M llvm/test/Transforms/InstCombine/rem.ll

  Log Message:
  -----------
  [InstCombine] add tests for div/rem with 0 select arm; NFC

More coverage for D115173 and its div sibling. These are
existing transforms handled by simplifyDivRemOfSelectWithZeroOp().


Compare: https://github.com/llvm/llvm-project/compare/db32c4f45625...51d3cb0ab15d


More information about the All-commits mailing list