[all-commits] [llvm/llvm-project] d99295: [InstCombine] add tests for opposing shifts separa...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Sep 27 11:10:42 PDT 2021


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

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

  Log Message:
  -----------
  [InstCombine] add tests for opposing shifts separated by trunc; NFC


  Commit: 623f93ed1c99904a2b092c617bb392010e7a0184
      https://github.com/llvm/llvm-project/commit/623f93ed1c99904a2b092c617bb392010e7a0184
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/shift-shift.ll

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

This bug was introduced with the refactoring in:
9075edc89bc9
...but there were no tests to detect it.


Compare: https://github.com/llvm/llvm-project/compare/e27a6db5298f...623f93ed1c99


More information about the All-commits mailing list