[all-commits] [llvm/llvm-project] 55aa4e: [InstCombine] add test for shift-shift with extra ...

RotateRight via All-commits all-commits at lists.llvm.org
Wed Sep 22 13:32:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55aa4e92f7374f01ef8d3c2f793a8666a1b13dca
      https://github.com/llvm/llvm-project/commit/55aa4e92f7374f01ef8d3c2f793a8666a1b13dca
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll

  Log Message:
  -----------
  [InstCombine] add test for shift-shift with extra use; NFC


  Commit: 1cd6b44f267b256051e6106d9cf665f3bae2fd22
      https://github.com/llvm/llvm-project/commit/1cd6b44f267b256051e6106d9cf665f3bae2fd22
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll

  Log Message:
  -----------
  [InstCombine] add one-use check to shift-shift transform

We don't want to create extra instructions, and this
could infinite loop with the proposed transform in D110170.


Compare: https://github.com/llvm/llvm-project/compare/d8e1203f9150...1cd6b44f267b


More information about the All-commits mailing list