[all-commits] [llvm/llvm-project] f53d60: [InstCombine] add tests for udiv with shift-left d...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Fri Oct 7 08:35:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f53d60e1752be6b97deac9d9ead09847db38e38f
      https://github.com/llvm/llvm-project/commit/f53d60e1752be6b97deac9d9ead09847db38e38f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

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

  Log Message:
  -----------
  [InstCombine] add tests for udiv with shift-left divisor; NFC

issue #58137


  Commit: 68f267d2df4de9bb486683dc83551c7edb3dd9f1
      https://github.com/llvm/llvm-project/commit/68f267d2df4de9bb486683dc83551c7edb3dd9f1
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

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

  Log Message:
  -----------
  [InstCombine] add tests for udiv with common factor; NFC


  Commit: bdfefac9a41c2ccd33a440efe1bde099e408225c
      https://github.com/llvm/llvm-project/commit/bdfefac9a41c2ccd33a440efe1bde099e408225c
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/sdiv-exact-by-negative-power-of-two.ll
    M llvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll

  Log Message:
  -----------
  [InstCombine] refactor sdiv by (negative) power-of-2 folds; NFCI

It's probably better to try harder on this kind of
pattern by using ValueTracking.


Compare: https://github.com/llvm/llvm-project/compare/7f90597be682...bdfefac9a41c


More information about the All-commits mailing list